Disable GraphQL Query and Subscription Root Fields selectively with RBAC
For each database table in a Hasura app, the GraphQL engine creates three root fields by default. Assuming there is a note table, the three root fields would be: note note_by_pk note_aggregate However, there are use cases where you might want to expose only certain root fields or none at all. For example, you might want to hide note_aggregate, expose only note_by_pk, or hide all of them. Now it's…
This is an excerpt. The full article continues at Hasura.