-
Notifications
You must be signed in to change notification settings - Fork 110
GenericReferenceField support #70
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
Comments
It seems to me like A GRF without choices is a schemaless structure and thus clashes with GraphQL philosophy of a full static schema. Indeed I cannot see this case being supported. |
This was my thought as well; as long as the set of choices is provided in the GenericReferenceField, and those choices each are found in the same registry, we should be able construct a Union that has Dynamic types. Eventually I'd like to see generated interfaces from MongoEngine classes that are parents of multiple children found in the registry, too. |
Hi @abawchen, It would be great to have support for the field type ListField(GenericReferenceField()), looking forward to hear the possibilities from you. |
@tambeta @zrlay : Thanks for you input, and it supports GenericReferenceField on updated master or @arunsureshkumar : Will take care it later :) |
Hi, currently the field converter throws an exception on MongoEngine's
GenericReferenceField
:It would be great to have support for this field type.
The text was updated successfully, but these errors were encountered: