graphql-python / graphene-sqlalchemy

Graphene SQLAlchemy integration
http://docs.graphene-python.org/projects/sqlalchemy/en/latest/
MIT License
975 stars 225 forks source link

Why is there no options to set node and edge nonnull on connection field? #310

Open mz-ericlee opened 3 years ago

mz-ericlee commented 3 years ago

I've been trying to set nonnull to node and edge on connection field because a frontend engineer told me that he've got a lot of things to handler if node and edge are nullable. is there a specific reason node and edge set to nullable?

erikwrede commented 2 years ago

There is an issue tracking this in graphene: https://github.com/graphql-python/graphene/issues/968 Additionally, you could try his for a fix: https://github.com/graphql-python/graphene-sqlalchemy/pull/261