Remove some mutations or queries for a specific model
See original GitHub issueDescribe the solution you’d like Remove some mutations or queries for a specific model
Describe alternatives you’ve considered Maybe add directives to model like
type User @queryOnly {
name: String
}
and mutation plugins will know that it’s a queryOnly model, hence skip mutation generation.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Delete Mutations - GraphQL - Dgraph
Delete Mutations allow you to delete objects of a particular type. We use the following schema to demonstrate some examples. Schema:.
Read more >Mutations in Apollo Client - Apollo GraphQL Docs
If you know that your app usually needs to refetch certain queries after a particular mutation, you can include a refetchQueries array in...
Read more >How to remove all deleteXXX mutation from graphql api? #6255
Is there any way to remove delete mutation completely? ... type Post @model(queries: { get: "post" }, mutations: {create: "createPost", ...
Read more >Remove Items from an Array with a GraphQL Mutation
GraphQL mutations are used to change data and can be also used to delete data. In this lesson, we'll make changes to the...
Read more >Queries and Mutations - GraphQL
On this page, you'll learn in detail about how to query a GraphQL server. Fields#. At its simplest, GraphQL is about asking for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@jthegedus the authentication directives will not be data-source specific, thus, it will not generate firestore security rules. It’s going to create graphql middleware with the specified authentication rules and apply to graphql server instead.
Since we’re using
firebase-admin, it will bypass all security rules.@wwwy3y3 Any updates on this?