GraphQL : Using Relay without having to use edges & node

1.3k views Asked by At

I've successfully built a GraphQL based API using Graphene-Django. In doing this, I used Relay.

My front-end colleagues are annoyed with having to specify "edges & node" and then pull out the data they want from the similar looking response.

Is there a way to use Relay without "edges & node"?

Robert

1

There are 1 answers

0
wnc_21 On

Edges and node are part of specification of the pagination. If you don't need pagination, you can use simple lists(graphene.List) without edges and node

see: documentation