Skip to content

Commit

Permalink
update documentation (neo4j-graphql#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy2003 authored Nov 12, 2020
1 parent 7b0e9e7 commit 6de8251
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -648,13 +648,14 @@ NOTE: The common CRUD mutations and queries are auto-generated, see below.

=== Auto Generated Queries and Mutations

To reduce the amount of boilerplate code you have to write we auto-generate top-level CRUD queries and mutations for all types.
To reduce the amount of boilerplate code you have to write, we auto-generate generate top-level CRUD queries and mutations for all types.

This is configurable via the API, you can:

* disable auto-generation (for mutations/queries)
* disable per type
* disable mutations per operation (create,delete,update)
* configure capitalization of top level generated fields

For a schema like this:

Expand Down Expand Up @@ -707,3 +708,4 @@ mutation {
----

You find more examples in the link:core/src/test/resources/augmentation-tests.adoc[Augmentation Tests]
and the link:core/src/test/resources/custom-fields.adoc[Custom queries and mutations Tests]

0 comments on commit 6de8251

Please sign in to comment.