Add Constant type/value properties (#280) #282
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
allow reading constant value/expr/is_literal and type (this one serialized to a json string since there is no impl to convert it to FieldValue)
add Constant property rustdocs example
add Constant property rustdoc schema
dep: add serde_json for Constant property Type
fix clippy
uglify with rustfmt
Update src/rustdoc_schema.graphql
Co-authored-by: Predrag Gruevski 2348618+obi1kenobi@users.noreply.github.com
squeeze doc comment
add a doc comment note referencing a more comprehensive example
to avoid repeating said example
(temporary in the json string format)
add type_ field to AssociatedConstant property rustdoc schema
split schema docs so that each Constant property is documented
update schema doc comment
update schema docs trait name
fix a typo in schema docs
remove type Assoc/Const property
until trustfall adds proper support for custom scalar types
remove type Assoc/Const property from schema
fix a typo in schema docs
Co-authored-by: Predrag Gruevski 2348618+obi1kenobi@users.noreply.github.com
Co-authored-by: Predrag Gruevski 2348618+obi1kenobi@users.noreply.github.com
Co-authored-by: Predrag Gruevski 2348618+obi1kenobi@users.noreply.github.com
Co-authored-by: Predrag Gruevski 2348618+obi1kenobi@users.noreply.github.com
Update AssociatedConstant example to refer to a const generic
Update Constant test with extra properties
expr/value/is_literal
Co-authored-by: Predrag Gruevski 2348618+obi1kenobi@users.noreply.github.com