A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/graphql/graphql-spec/commit/c5b3b649f9d3ca30e0f7da94b6c16de4cd779915 below:

Add validation rule for argument uniqueness · graphql/graphql-spec@c5b3b64 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+13

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+13

-0

lines changed Original file line number Diff line number Diff line change

@@ -454,6 +454,19 @@ fragment multipleArgsReverseOrder on Arguments {

454 454

}

455 455

```

456 456 457 +

### Argument Uniqueness

458 + 459 +

Fields and directives treat arguments as a mapping of argument name to value.

460 +

More than one argument with the same name in an argument set is ambiguous

461 +

and invalid.

462 + 463 +

** Formal Specification **

464 + 465 +

* For each {argument} in the Document.

466 +

* Let {argumentName} be the Name of {argument}.

467 +

* Let {arguments} be all Arguments named {argumentName} in the Argument Set which contains {argument}.

468 +

* {arguments} must be the set containing only {argument}.

469 + 457 470

### Argument Values Type Correctness

458 471 459 472

#### Compatible Values

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4