I try to understand Graphql in django and use graphene
and graphene_django
.
My frontend will probably be built with Vuejs and Apollo client.
All the tutorials on the internet are about wether classic Graphql or Relay.
Relay with its Nodes and Edges seem to be advised (is it ?).
But Node and Edges are available with wether the interface graphene.Node
or the interface graphene.relay.Node
.
Is there any difference between these two ?
Complementary question : Is it a good practice to use node and edges, even though I wont use Relay/React ? Apollo docs are all about classic Graphql.
Regards
graphene.Node
is imported fromgraphene.relay.Node
. – Yang HG