kerubistan / kerub

A lightweight IaaS prototype
Apache License 2.0
13 stars 4 forks source link

test automation: lazy properties must be listed in @JsonIgnoreProperties on the type #238

Closed K0zka closed 5 years ago

K0zka commented 5 years ago

Jackson seems to be ignoring the @JsonIgnore annotations on the lazy properties. A test should check that all the lazy fields are listed in the @JsonIgnoreProperties annotation

K0zka commented 5 years ago

so theoretically if the isDelegate method returns not null, but the call is prohibited. And how does that help me? I guess the point is not to let me find out whether or not the property is delegate or not.

K0zka commented 5 years ago

OK admitting defeat, the kotlin-reflect api just does not seem to support this