Skip to content

Fix enums converting #197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Fix enums converting #197

wants to merge 2 commits into from

Conversation

deknowny
Copy link

There was a bug with enums because you return enum.Enum instead of sqlalchemy.Enum when resolve an enum field

@bschoenmaeckers
Copy link

duplicate of #165

@deknowny
Copy link
Author

oh, okay, but still not merged

@deknowny
Copy link
Author

@tiangolo do you know about the problem?

0.0.6 is released without any of these enums fixes

@tiangolo
Copy link
Member

Thank you @deknowny! 🍰

And thanks everyone for the discussion. ☕

This was solved in #165 that included tests, so I'll close this one. The fix will be available in the next release, SQLModel 0.0.7, in the next hours. 🎉

Thanks for the effort! ☕

@tiangolo tiangolo closed this Aug 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants