TwentyT
Twenty9mo ago
1 reply
Jordan

Regenerating Graphql

Hello 👋

I'm new to the project, and trying to make a small update to add a field in the ClientConfig type (beside where isGoogleCalendarEnabled and isMicrosoftCalendarEnabled types are defined).

After I update these types, I need to regenerate the graphql code... but I'm running into an issue finding the command to trigger the update.

I've tried npx nx run twenty-front:graphql:generate:data but that didn't seem to work (I don't see the graphql file where the query is defined changing).

Any help or direction would be appreciated.
Was this page helpful?