Files are generated into frontend/lib/graphql and administration/src/generated/graphql.tsx. Queries are specified in frontend/graphql_queries and administration/src/graphql.
- If schema changed: Generate updated GraphQL schema into schema.graphql
Run "Generate GraphQL" in Intellij (or
./gradlew run --args="graphql-export ../specs/backend-api.graphql"
in the backend folder) - Run any "Set build config" configuration in IntelliJ e.g. "Set build config bayern" (
or
flutter pub run build_runner build
in thefrontend
directory) - Run "Generate Administration GraphQL" (or
npm generate-graphql
in theadministration
directory)