Skip to content

Commit

Permalink
Merge pull request #408 from jhipster/fix-json-ignore
Browse files Browse the repository at this point in the history
Fix logic for including JsonIgnore annotation
  • Loading branch information
mraible authored Nov 1, 2024
2 parents 8468fa0 + cb16ca3 commit 9bc7c0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ During development of blueprint, please note the below steps. They are very impo

# License

Apache-2.0
Apache 2.0, see [LICENSE](LICENSE).

[npm-image]: https://img.shields.io/npm/v/generator-jhipster-quarkus.svg
[npm-url]: https://npmjs.org/package/generator-jhipster-quarkus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ public class <%= persistClass %> extends <% if (databaseType === 'sql') { %>Pana
<%_ } _%>
<%_ } else { _%>
@OneToOne(mappedBy = "<%= otherEntityRelationshipName %>")
@JsonIgnore
<%_ if (importJsonIgnore === true) { _%>@JsonIgnore<%_ } _%>
<%_ }
} else if (databaseType === 'mongodb' || databaseType === 'couchbase') {
if (databaseType === 'mongodb') { _%>
Expand Down

0 comments on commit 9bc7c0a

Please sign in to comment.