Skip to content
Advertisement

Tag: graphql

How to increase Parse Limit from 15000 in Graphql Using Quarkus

I am using an Angular application with Graphql to communicate with a Java/Quarkus backend. There is a situation where a large object is generated and I am attempting to manipulate it in the backend. An error occurs: Invalid Syntax : More than 15000 parse tokens have been presented. To prevent Denial Of Service attacks, parsing has been cancelled. Smallrye-graphql and

How to define Nested enum type in GraphQL schema

I have an enum defined in graphql schema as below: But the WILDCARD query, can be further specified as STARTSWITH, ENDSWITH and CONTAINS, So can we achieve something like below while defining Schema or Answer There are no such nested enums in GraphQL schema. You can consider to model it using two separate fields with separate enums . And suppose

GraphQL Input type declaration for Mutation

I’m new to GraphQL and after some coding I bumped into a problem with declaring an Input type for a Mutation. Here’s my Schema: When I run my app, I get the error Caused by: graphql.kickstart.tools.SchemaError: Expected type ‘IdInput’ to be a GraphQLInputType, but it wasn’t! Was a type only permitted for object types incorrectly used as an input type,

How to query an API with graphql requests [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 12 months ago. Improve this question Currently I am using Postman with POST and GRAPHQL type queries. I wish I could query the API with spring-boot. First, I want to make

Advertisement