GraphQL Schema for graphql-tada

I’m trying to set up graphql-tada in my Dato+Astro project. I found this starter kit which appears to use this schema file: https://github.com/datocms/astro-starter-kit/blob/main/schema.graphql

I’m wondering, was this created manually? How do I get it to update based on my graphql schema? For example, when i create a modular content block, how do I get it to update based on that? Do i have to add to it manually?

Thanks

Hi @sam,

Welcome to the forum!

You should be able to regenerate that file on schema changes using the npm run generate-schema command inside that repo (from https://github.com/datocms/astro-starter-kit/blob/main/package.json#L12).

The software we use for this is gql.tada

Let me know if that works!