DjangoConnectionField and DjangoFilterConnectionField does not support NonNull connections
See original GitHub issueConnections fields shouldn’t be nullable. I’m generating client side types through graphql introspection and have to do additional existence checking for connections. DjangoConnectionField
and DjangoFilterConnectionField
should default to creating NonNull
connections
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:6 (2 by maintainers)
Top Results From Across the Web
django - The type * doesn't have a connection - Stack Overflow
When I create a DjangoObjectType and pass this to DjangoFilterConnectionField in my Query, I get an AssertionError that The type {my ...
Read more >graphene-django Changelog - PyUp.io
This release uses Graphene v3 which drops support for Python 2 and uses the v3 version of graphql-core. See https://github.com/graphql-python/graphene/issues/ ...
Read more >Python convert list - ProgramCreek.com
This page shows Python code examples for convert list.
Read more >graphene: Versions - Openbase
Interfaces extending interfaces is now supported! ... Allow relay connection node to be wrapped in a NonNull type abff3d75a39bc8f2d1fdb48aafa1866cf47dfff6 ...
Read more >graphql-python/graphene-django v3.0.0 on GitHub
... fix(converter): wrap field with NonNull if it is required by @helloqiu in #545; Warn if fields or exclude are not defined on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think this should be opened. Solution not working starting from version 2
I’ve created a custom connection class just for that purpose and use it successfully across the entire project. We use Apollo’s
codegen
+ Typescript in our client apps and with these connections we have much cleaner types: