You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@CompiledJson
public record MyClass(
@JsonAttribute(name = "issuer") String issuer){}
This fails with
error: Unable to find matching property: 'issuer' used in constructor. Either use annotation processor on source code, on bytecode with -parameters flag (to enable parameter names) or manually create an instance via converter
@CompiledJson
^
But in the following 'good' snippet, if you change the name to notissuer, then this works fine.
@CompiledJson
public record MyClass(
@JsonAttribute(name = "issuer") String notissuer){}
Anybody else see this? Is this some weird interaction with boolean-style boolean isSuer() style fields? For clarity, the field is issuer as in getIssuer not suer as in isSuer
The text was updated successfully, but these errors were encountered:
daniel-b2c2
changed the title
Bug with non-boolean fields prefixed with is
Bug with non-boolean fields prefixed with is in records
Nov 22, 2024
daniel-b2c2
changed the title
Bug with non-boolean fields prefixed with is in records
Bug with non-boolean fields prefixed with is in Records
Nov 22, 2024
daniel-b2c2
changed the title
Bug with non-boolean fields prefixed with is in Records
Fail to compile Records with non-boolean fields prefixed with isNov 22, 2024
The following 'bad' snippet:
This fails with
But in the following 'good' snippet, if you change the name to
notissuer
, then this works fine.Anybody else see this? Is this some weird interaction with boolean-style
boolean isSuer()
style fields? For clarity, the field isissuer
as ingetIssuer
notsuer
as inisSuer
The text was updated successfully, but these errors were encountered: