Closed bosko-nikcevic-infinum closed 10 months ago
I will look into it
So as far as I remember, when we use HasOne/HasMany kind of annotators, the field is serialized by its name, so even though the @SerialName is added it doesn't have an effect., so this leads to use the response property names with snake case or whatever are defined in there.
I was forced to remove the usage of SerialName annotator from KotlinX Serialization library together with HasOne/HasMany/etc annotators from JsonApiX library, as it didn't recognise the new variable name.
@ToshevIvan If you have something to add to the description of this issue or make it clearer