You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A schema is provided in the introduction, but it's not used consistently. Section 6.3.4 and 6.3.5 counter-examples use altered schemas, and section 6.3.7 uses two different UserInput types, neither of which are in the reference schema. It would make the tests cleaner and more consistent if either all rules referenced the same schema, or all rules used their own schema.
"If segment is a type reference" – Type reference meaning <TypeName>? If so, then this is only part of a PathSegment, or part of a Path. Michael suggested that we could consider using the term "type condition" (as used with fragments). Should this be something like "If segment includes a type condition"? But this won't handle Paths with a type condition?
"Let parentType be the type of the parent of the segment" – for PathSegments, this is the return type of the referenced field, there's no "parent of the segment"? For Path, it would be the output type.
"Let applicableTypes be the intersection of GetPossibleTypes(type) and GetPossibleTypes(parentType)" – is it necessary to get the possible types of the type? Does it not just need to be a possible type of parentType?
UserInput
types, neither of which are in the reference schema. It would make the tests cleaner and more consistent if either all rules referenced the same schema, or all rules used their own schema.<TypeName>
? If so, then this is only part of aPathSegment
, or part of aPath
. Michael suggested that we could consider using the term "type condition" (as used with fragments). Should this be something like "If segment includes a type condition"? But this won't handlePath
s with a type condition?PathSegment
s, this is the return type of the referenced field, there's no "parent of the segment"? ForPath
, it would be the output type.type
? Does it not just need to be a possible type ofparentType
?value
/literal values
/value literals
refer to here?FieldSelectionMap
s are not using braces.@oneOf
here, which is mentioned in section 2.4@is
.The text was updated successfully, but these errors were encountered: