Skip to content

GraphQL type generation

Mats Tyldum edited this page Feb 16, 2021 · 4 revisions

Types corresponding the API data can be generate by issuing the command ADMIN_SECRET=xxxxx yarn generate. Note: Replace xxxxx with the admin secret for the project (found here). Also if you are on Windows, the command is slightly different (see docs). More information of this topic are found in the Hasura documentation.

Clone this wiki locally