Tag: schema
-
What’s the advantages of pre-fetching the GraphQL schema when we can manually pass data to request body?
0 Foreword: I am completely new to GraphQL so I am just trying to figure out what is the best practice when working with it So I need to call a GraphQL API written in Nestjs (more specifically, from a Rails server). There is this nice gem graphql-client that makes a Client to communicate with…
-
Issue with Nullable Types in Hasura GraphQL Schema Generation
0 I am facing an issue with the return types of Hasura queries when generating schemas using the codegen library (via yarn graphql-codegen –config codegen.ts command). Previously, the generated schema used to look like this: schema in graphql.schema.json — { "kind": "OBJECT", "name": "table_name", "description": "columns and relationships of "table_name"", "fields": [ ….. { "name":…
-
How do I get authentication to work on my resolvers in graphql social media app?
0 I am a new developer working on a project for a bootcamp, my project is a music social media application using graphql and mern stack. I am working on the resolvers for the cud operations and need to add authentication to my mutations for addPost, removePost, removeUser, addComment addFriend etc. When I run my…
-
GraphQL Developer – Diamond Pick – Remote
Diamond Pick Remote $50 – $60 Accepts corp to corp applications, Contract: Independent Skills GraphQL Schema Job Description Skill sets: GraphQL Fundamentals: Strong grasp of GraphQL’s core concepts and specifications. Schema Design: Ability to create well-structured GraphQL schemas. Query and Mutation Construction: Proficiency in crafting efficient queries and mutations. Resolver Functions: Writing resolvers for data…
-
How to do schema-stitching and introspection in new @apollo/server and graphql-tools?
0 I’m working on a Node.js project having a main-service(A central component where various remote microservices which are exposed with respective "port/graphql" are stitched together to create a unified API endpoint. It acts as a gateway or aggregator, allowing clients to access multiple functionalities provided by different microservices through a single entry point.). Now, I…
-
Strawberry Shake error using gzip compression
0 I am following the official Strawberry Shake guide: https://chillicream.com/docs/strawberryshake/v13/get-started/console Specifically Step 4: Add a GraphQL client to your project using the CLI tools I run this command: dotnet graphql init https://integrate.somecloud.com/graphql -n SomeClient -p ./StrawberryShakeConsole –headers Accept-Encoding=gzip –tokenEndpoint https://integrate.somecloud.com/auth –token eyJhbGciOiJIUzI1… I receive the following error: Download schema started. Download schema completed in 557…
-
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…