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
{{ message }}
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.
For some strange reason when encoding NormalVista I was getting href with the id included but not the id field itself in the JSON. It had to be there because href showed it, but the mapper wasn't including it.
The error is solved by removing the @Field() annotation from href in Ref, but its not obvious because in many cases it works, just that in this particular setup it doesn't.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have this hierarchy of classes (here simplified). Once
Ref
was a normal class but not its abstract, and as you see it has a@Field()
annotation.For some strange reason when encoding
NormalVista
I was gettinghref
with the id included but not theid
field itself in the JSON. It had to be there becausehref
showed it, but the mapper wasn't including it.The error is solved by removing the
@Field()
annotation fromhref
inRef
, but its not obvious because in many cases it works, just that in this particular setup it doesn't.The text was updated successfully, but these errors were encountered: