1. Graphql
  2. Auxiliary information


Auxiliary information

Here you can find useful hints for working with our GraphQL API

Give your queries and mutations meaningful names

You should follow a naming schema when naming your queries and mutations.

This schema could be <action/verb><what/noun>.

For example when writing a query to search for the tasks of a user, it should be named SearchUserTasks. The same goes for mutations, for example RequestPermission.

Not only makes it very clear what a query or mutation is doing (for example for other colleagues working on the same project), but also simplifies debugging, reading logs and may come in handy when analyzing metrics.