cynic-parser-v0.8.0
cynic-releaser
released this
07 Nov 19:12
·
30 commits
to main
since this release
Breaking Changes
- Lexing failures now include the token that failed to parse
Description::raw_str
has been renamedraw_untrimmed_str
to make its
purpose clearer.StringLiteral::raw_str
has been renamedraw_untrimmed_str
to make its
purpose clearer.Float
s are now correctly represented as f64 rather than f32Value::as_f32
&ConstValue::as_f32
are nowas_f64
New Features
- Added convenience functions to
SchemaDefintion
to get the individual
definitions from within - Added
get
function toConstList
,List,
,ConstObject
andObject
to
get the value of an item or field from the list or object ConstList
,List
,ConstObject
andObject
now implementIntoIterator
,
which is equivalent to callingitems
orfields
- Added
as_f64
&as_str
&as_bool
functions to the respective scalar
value types.
Bug Fixes
Float
s are now correctly represented as f64 rather than f32
Changes
Iter
types are now reexported in thetype_system
andexecutable
modulesValue
&ConstValue
are now reexported from the crate root.