Skip to main content

Developing our GraphQL API

Our GraphQL schemas are located at src/Capco/AppBundle/Resources/config/graphql.

We have :

  • dev
  • internal
  • public
  • preview

All GraphQL files are *.types.yaml.

Every time you change the schema in yaml, don't forget to run:

yarn relay

It will generate all PHP and JS code.

Learn More

To learn more about GraphQL, take a look at the following resources: