Closed Sefriol closed 10 months ago
Hi @Sefriol, could you provide example code? The first step isn't clear to me, a gist or small repo to look at would be helpful.
I'll check tomorrow when I get back to work ;)
This might be an issue on our end. I tried Generator.V2.City
and it seemed to work properly.
It seems that ADT client does not respect [JsonIgnore]
attribute in our case. Need to investigate why that is.
Found the issue in our Json Serializer which happened to discard [JsonIgnore]
-attributes.
Describe the bug
It seems that model validation will fail with JsonIgnore-fields.
Which version of the tool was used?
Latest ADT client and Model Generator
Options
No response
Steps To Reproduce
ADT will report back with Model Valition Error which complains that specific field inside the class is either wrong type or not part of the model.
For Relationships, this can be circumvented by making Relationships into functions:
This requires a small change in the querybuilder where you need to call for the function, which isn't a big deal, but it kinda ins't the same thing. I am wondering if I am just doing something wrong.