Closed lrlna closed 12 months ago
Also Also Also, should this just be parsing into a Type
directly instead of into a FieldType
wrapper? A type reference doesn't have to be in a field, field/directive argument types are the same.
Agree on both points: this can use ast::Type
without introducing a FieldType
struct, and the Ok
result doesn’t need to contain diagnostics (or conversely, return Err
if any diagnostic)
It accepts [[String]
(unclosed List) 🤔
@SimonSapin Ready for review again I think!
To parse standalone source text like
[Type]!
, for example for the federation directive@fields(type:)
.closes #715