Replies: 3 comments
|
Let's take this over to #67. Closing this down. |
0 replies
|
@ZuluPro were you able to fix this issue? Could you explain how? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have a model field with choices:
So, in the schema I have the model and its choices. But can I expose the choices ?
I tried this but without success:
The code above gives the following thing:
Request :
Response:
It seems that as the object aren't the of the same type (Pythonicly saying), Graphene doesn't want to handle.
I could recreate myself a
MyModelHamTypewithEnum, but it will be duplicate with the existing one autocreated and already in schema.All reactions