-
Notifications
You must be signed in to change notification settings - Fork 228
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
How can I reference an enum type created by SqlAlchemy mapping ? #96
Comments
I had the same problem and I used the following workaround:
|
Thanks @sboisson sounds good to me 👍 |
You're welcome! You might want to watch issue #78 for built-in support |
Hi there! Do we have a better way to achieve this, now? apart from doing |
Since #78 and #98 are merged, I expect this problem to be fixed. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics referencing this issue. |
Hi:
I would like to reuse an
Enum
type I've mapped in one class. Lets say I had the classPatient
:That is perfectly mapped to a
Sex
graphql type. But if I would like to create a newPatient
, How can I reference theSex
enum type generated bygraphene-sqlalchemy
e.g in an input type ?BTW I'm using latest master branch version.
The text was updated successfully, but these errors were encountered: