Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion server/spec/src/main/asciidoc/components/mutations.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ value is used as the mutation name.
is used as the mutation name.
* if the method is annotated with a `@JsonbProperty` annotation containing a non-empty String for it's value, that
String value is used as the mutation name.
* if no other name can be determined, the Java method name is used as the mutation name. (with the set removed if this is a setter)
* if no other name can be determined, the Java method name is used as the mutation name. (with the set removed if the method
name matches the rules for a setter. e.g. `^set[A-Z].*`)

Note that it is considered a deployment error if more than one mutation method has the same name with the same
arguments.
Expand Down
3 changes: 2 additions & 1 deletion server/spec/src/main/asciidoc/components/queries.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ is used as the query name.
is used as the query name.
* if the method is annotated with a `@JsonbProperty` annotation containing a non-empty String for it's value, that String
value is used as the query name.
* if no other name can be determined, the Java method name is used as the query name. (with the get/is removed if this is a getter)
* if no other name can be determined, the Java method name is used as the query name. (with the get/is removed if the method
name matches the rules for a getter. e.g. `^get[A-Z].\*` or `^is[A-Z].*`)

Note that it is considered a deployment error if more than one query method has the same name with the same arguments.

Expand Down