# The Pain point of generating GraphQL SDK

One of the main challenges when working with a GraphQL server is the manual effort required to create and maintain the SDK. Developers often need to manually write `.gql` files and create TypeScript types to match the schema. This process becomes tedious and error-prone, especially when the schema changes frequently.

The `graphql-sdk-generator` simplifies this by automatically generating TypeScript code for your GraphQL schema. With this tool, developers no longer need to manually update types when the schema changes. Instead, the generator produces the necessary code based on the schema, ensuring that the types always reflect the latest structure.

By simply rerunning the generator, the TypeScript code is updated automatically, reducing human errors, improving efficiency, and making it easier to maintain your SDK. This provides a seamless and hassle-free development experience for working with GraphQL.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.siddharth9890.com/graphql-sdk-generator/the-pain-point-of-generating-graphql-sdk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
