Skip to content

Commit 3932242

Browse files
committed
operation-defined
1 parent 7886787 commit 3932242

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/Section 2 -- Language.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@ size `60`:
12091209

12101210
**Variable use within Fragments**
12111211

1212-
Variables can be used within fragments. Operation defined variables have global
1212+
Variables can be used within fragments. Operation-defined variables have global
12131213
scope with a given operation, so a variable used within a fragment must either
12141214
be declared in any top-level operation that transitively consumes that fragment,
12151215
or by that same fragment as a fragment argument. If a variable is referenced in
@@ -1275,7 +1275,7 @@ fragment dynamicProfilePic($size: Int!) on User {
12751275

12761276
The profilePic for `user` will be determined by the variables set by the
12771277
operation, while `secondUser` will always have a profilePic of size 10. In this
1278-
case, the fragment `variableProfilePic` uses the operation defined variable,
1278+
case, the fragment `variableProfilePic` uses the operation-defined variable,
12791279
while `dynamicProfilePic` uses the value passed in via the fragment spread's
12801280
argument `size`.
12811281

0 commit comments

Comments
 (0)