Skip to content

Commit 94f494c

Browse files
committed
Comment on ModifiedArgument confused optional and nullable
1 parent 40e2672 commit 94f494c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/graphqlservice/GraphQLService.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ enum class TypeModifier
211211

212212
// Extract individual arguments with chained type modifiers which add nullable or list wrappers.
213213
// If the argument is not optional, use require and let it throw a schema_exception when the
214-
// argument is missing or not the correct type. If it's nullable, use find and check the second
214+
// argument is missing or not the correct type. If it's optional, use find and check the second
215215
// element in the pair to see if it was found or if you just got the default value for that type.
216216
template <typename Type>
217217
struct ModifiedArgument

0 commit comments

Comments
 (0)