Replies: 3 comments
-
@sciyoshi Any news ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Let's take this over to #67. Closing this down. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ZuluPro were you able to fix this issue? Could you explain how? |
Beta Was this translation helpful? Give feedback.
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
MyModelHamType
withEnum
, but it will be duplicate with the existing one autocreated and already in schema.Beta Was this translation helpful? Give feedback.
All reactions