There's been a bit of discussion around this in #566 and #560 , but I really think this should get another look.
Currently DjangoConnectionField's edges property is required, but the types inside are not:
Given how DjangoConnectionField works, it's not really possible for EdgeType to be optional. It should look like this:
And then if you look at the EdgeType itself, node is optional:
But that also is never going to happen. It should be required:
Before I start digging and open a PR, are these assumptions correct? Or am I missing something?
There's been a bit of discussion around this in #566 and #560 , but I really think this should get another look.
Currently
DjangoConnectionField'sedgesproperty is required, but the types inside are not:Given how
DjangoConnectionFieldworks, it's not really possible forEdgeTypeto be optional. It should look like this:And then if you look at the
EdgeTypeitself,nodeis optional:But that also is never going to happen. It should be required:
Before I start digging and open a PR, are these assumptions correct? Or am I missing something?