hi guys, i am new about learning graphql (a week) and i just confused about query typing
why we should create edge and node in query? and what it does mean?
hi guys, i am new about learning graphql (a week) and i just confused about query typing
why we should create edge and node in query? and what it does mean?
For further actions, you may consider blocking this person and/or reporting abuse
Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.
What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.
Shinigami -
Nahuel Segovia -
Eduard Krivanek -
Marius Muntean -
Once suspended, bimbimprasetyoafif will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, bimbimprasetyoafif will be able to comment and publish posts again.
Once unpublished, all posts by bimbimprasetyoafif will become hidden and only accessible to themselves.
If bimbimprasetyoafif is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Bimo Prasetyo Afif.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag bimbimprasetyoafif:
Unflagging bimbimprasetyoafif will restore default visibility to their posts.
Top comments (5)
Apa kabar, Bimo!
The Node interface means that your types will be forced to have an id field.
There is a nice example here: atheros.ai/blog/graphql-interfaces...
If your types will have a Node interface, it will be much easier to query them by id.
Another advantage of Node is Connection which lets you put extra fields on itself and on the edges of the node. Example: docs.graphene-python.org/en/latest...
yup, and i just found an article that implement graphQl and vue.js
and now, i knew that works. thanks for information 😆 i thought this (graphQl) very very very fuuuunnnnnn
AFAIK, Edges and Nodes are used by Relay client (React - relay.dev/). Somebody please correct me if I'm wrong.
ahh i see. is it okay even doesn't use relay in server? i don't know what relay used for :")
The Node interface is enforced only by Relay.js, everywhere else it's optional. You don't have to use it, but if you're building an app that will grow in the future, Node might make it easier to scale.
If this is your first app and it does not have a complex schema, you can skip nodes and edges.