Skip to content

Commit

Permalink
Update generator.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Sep 19, 2024
1 parent 059d759 commit 5b3bbf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/server/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ export default class JHipsterServerGenerator extends BaseApplicationGenerator {
return this.asLoadingEntitiesTaskGroup({
loadEntityConfig({ entitiesToLoad }) {
for (const { entityName, entityBootstrap } of entitiesToLoad) {
for (const fields of entityBootstrap.fields) {
for (const field of entityBootstrap.fields) {
if (field.fieldType === BYTE_BUFFER) {
this.log.warn(`Cannot use validation in .jhipster/${entityName}.json for field ${stringifyApplicationData(field)}`);
field.fieldValidate = false;
Expand Down

0 comments on commit 5b3bbf6

Please sign in to comment.