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 Oct 19, 2022. It is now read-only.
As we can see, with "fields" commented out, "model" and "busProtocol" get on top of the JSON and don't respect anymore ordered = True inherited from EntitySchema. I would love to have all my JSON completely ordered and if I don't have to use fields = (...), it would be awesome because I don't want to have to change at multiple points the name of my DB fields.
Maybe it's an issue or maybe something exists to avoid this but I didn't find anything.
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.
Hi,
I'm using marshmallow_enum to handle the serialization of my Enum.
I have the following code :
When I retrieve a meter from my SQLite3 DB, I get the following JSON :
As we can see, with "fields" commented out, "model" and "busProtocol" get on top of the JSON and don't respect anymore
ordered = True
inherited from EntitySchema. I would love to have all my JSON completely ordered and if I don't have to usefields = (...)
, it would be awesome because I don't want to have to change at multiple points the name of my DB fields.Maybe it's an issue or maybe something exists to avoid this but I didn't find anything.
The text was updated successfully, but these errors were encountered: