Skip to content

Commit f4a94c6

Browse files
authored
Update FragmentArguments.md
1 parent cdf3677 commit f4a94c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rfcs/FragmentArguments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,6 @@ This validation rule may end up being more strict than required, but it would be
201201

202202
# Implementation
203203

204-
This proposal can be implemented as a compilation step that compiles the user-written GraphQL into a document without fragment arguments. This can eb done in a variety of ways, such as by doing find-variable-replace-with-argument-value or by adding variables on the operation with the argument value set as the default value.
204+
This proposal can be implemented as a compilation step that compiles the user-written GraphQL into a document without fragment arguments. This can be done in a variety of ways, such as by doing find-variable-replace-with-argument-value or by adding variables on the operation with the argument value set as the default value.
205205

206-
Alternatively, implementations that want to support fragment arguments directly, a naive approach is, when encountering a fragment spread for a fragment with argument definitions, prior to collection that fragment's fields, replace the argument variables with the passed in argument value or default values.
206+
Alternatively, implementations may want to support fragment arguments directly. For a naive naive approach, during collectFields, when encountering a fragment spread selection for a fragment with argument definitions, replace the argument variables with the passed in argument value or default values.

0 commit comments

Comments
 (0)