KamoCRM

Keep the is-prefix on the wire for isTopLevel/isPlatformProduct

FixBillingService
Shipped
8 ஆகஸ்ட், 2026 அன்று 5:42 PM UTC
Author
Kamo
Commit
b059a50

Lombok generates isTopLevel() for a `boolean isTopLevel` field and Jackson strips the `is` prefix, so the live endpoint was serializing `topLevel` and `platformProduct` while the client reads **************** The client would have read undefined: the Platform and Product badges would never render and the drawer's platform-product switch would always show off, with nothing erroring anywhere. Found by calling the deployed endpoint -- the unit tests mock the query and never saw the serialized names. Pinned with a serialization test that asserts the wire names, the string ids, decimal-string money and ISO dates.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing