Star us on GitHub
Star
Menu

Frontend (app.highlight.io)

Frequently Asked Questions

How do I change the Apollo Client GraphQL definitions?

The frontend is set up to host the Apollo Client definitions in frontend/src/graph/operators. Query definitions reside in query.gql while mutation definitions reside in mutation.gql.

Changing these two files regenerates frontend hooks and other Typescript definitions. Having the frontend running will watch these two files for changes and update generated code. See the development docs for more info on running the frontend.