Add @JsonProperty to is*-prefixed boolean DTO fields

FixBillingService
Shipped
April 28, 2026 at 9:57 PM UTC
Author
Kamo
Commit
e8325de

Lombok generates isXxx() is-getters for boolean fields named isXxx. Jackson strips the leading 'is' from is-getters and serializes them as 'xxx' rather than 'isXxx', so isAccountManager became 'accountManager' in JSON, isLicensee became 'licensee', isOrgOwner became 'orgOwner' — all mismatching the frontend's expected field names. The toggles appeared permanently unchecked because the frontend read undefined instead of the actual boolean value. Added @JsonProperty to force the correct key names on isAccountManager, isOrgOwner, and isLicensee in both response DTOs and the Add* request classes. The Update* request classes already used Boolean (nullable) and were unaffected.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing