-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* add Constant property resolution function 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 * squeeze doc comment * add a doc comment note referencing a more comprehensive example to avoid repeating said example * add type_ field to AssociatedConstant property resolution function (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 * dep: remove serde_json since Constant property Type was removed * remove unstable rustdocs example for Constant properties * Update formatting of the schema docs * Update AssociatedConstant example to refer to a const generic * Update Constant test with extra properties expr/value/is_literal --------- Co-authored-by: Evgeny <[email protected]>
- Loading branch information
1 parent
e109e74
commit dc8d22b
Showing
4 changed files
with
139 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters