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
Hi,
I'd like to match my camel case attributes in Flutter with snake case attributes from the backend. this is done using wirename in BuiltValue.
For example, I have a field in Flutter called aInt but the backend sends it as a_int.
I have not found any way to do this in this lib, any help would be appreciated.
thanks.
The text was updated successfully, but these errors were encountered:
Hey, currently built_union doesn't support this feature. I actually had to port one of my backend services to produce jsons with camel case identifiers, so I can understand your issue.
I am not sure I will be able to implement this functionality in the near future due to lack of time, but I am willing to merge something like this if you want to implement this yourself.
Hi,
I'd like to match my camel case attributes in Flutter with snake case attributes from the backend. this is done using wirename in BuiltValue.
For example, I have a field in Flutter called
aInt
but the backend sends it asa_int
.I have not found any way to do this in this lib, any help would be appreciated.
thanks.
The text was updated successfully, but these errors were encountered: