Tag: graphql
-
How can I get an instagram users biography and profile data using a query_hash and the graphql endpoint?
0 I am currently getting userprofile information from the following endpoint ‘/api/v1/users/web_profile_info/?username=${username}’ which works. However it is quickly rate-limited and not suitable for my application. I would like to use the graphql endpoint for user profile information (biography) so I do not get rate limited. I cannot figure out how to generate a query_hash for…
-
HasuraCon 2023
Actions Panel Just Added! Join us to learn, share, celebrate, and geek out on the future of Hasura and GraphQL. By HasuraFollow When and where Date and time June 20 · 8am – June 22 · 12pm PDT Location Online About this event 2 days 4 hours Mobile eTicket HasuraCon 2023 is three days of…
-
Nodemon Error: “System limit for number of file watchers reached”
227 I’m learning GraphQL and am using prisma-binding for GraphQL operations. I’m facing this nodemon error while I’m starting my Node.js server and its giving me the path of schema file which is auto generated by a graphql-cli. What is this error all about? Error: Internal watch failed: ENOSPC: System limit for number of file…
-
When and How to use GraphQL with microservice architecture
263 I’m trying to understand where GraphQL is most suitable to use within a microservice architecture. There is some debate about having only 1 GraphQL schema that works as API Gateway proxying the request to the targeted microservices and coercing their response. Microservices still would use REST / Thrift protocol for communication though. Another approach…
-
What is an exclamation point in GraphQL?
127 In a schema file that I have I noticed there are exclamation marks after some types, like # Information on an account relationship type AccountEdge { cursor: String! node: Account! } What do these mean? I can’t find anything about it in the documentation or through googling ? graphql Share Improve this question Follow…
-
GraphQL Expected Iterable, but did not find one for field xxx.yyy
93 I’m currently trying GraphQL with NodeJS and I don’t know, why this error occurs with the following query: { library{ name, user { name email } } } I am not sure if the type of my resolveLibrary is right, because at any example I had a look at they used new GraphQL.GraphQLList(), but…
-
How to query all the GraphQL type fields without writing a long query?
316 Assume you have a GraphQL type and it includes many fields. How to query all the fields without writing down a long query that includes the names of all the fields? For example, If I have these fields : public function fields() { return [ ‘id’ => [ ‘type’ => Type::nonNull(Type::string()), ‘description’ => ‘The…
-
Get GraphQL whole schema query
116 I want to get the schema from the server. I can get all entities with the types but I’m unable to get the properties. Getting all types: query { __schema { queryType { fields { name type { kind ofType { kind name } } } } } } How to get the properties…
-
In GraphQL what’s the meaning of “edges” and “node”?
164 I am consuming a GraphQL endpoint and I get results that contain edges and node tags. I am supplying a clean JSON structure for my query, so this doesn’t make sense to me. It seems as if the GraphQL server is polluting my data with no obvious benefit. Why are these terms included in…
-
What’s the point of input type in GraphQL?
165 Could you please explain why if input argument of mutation is object it should be input type? I think much simpler just reuse type without providing id. For example: type Sample { id: String name: String } input SampleInput { name: String } type RootMutation { addSample(sample: Sample): Sample # <– instead of it…