juniper/juniper_codegen
Audun Halland c54137f7b4
Rework look-ahead machinery as lazy-evaluated (#1212)
- make `LookAheadValue::List` to contain new iterable `LookAheadList` type
- make `LookAheadValue::Object` to contain new iterable `LookAheadObject` type
- remove `LookAheadMethods` trait and redundant `ConcreteLookAheadSelection` struct making all APIs accessible as inherent methods on `LookAheadSelection` and `LookAheadChildren` decoupled types
- move `LookAheadMethods::child_names()` to `LookAheadChildren::names()`
- move `LookAheadMethods::has_children()` to `LookAheadChildren::is_empty()`
- move `LookAheadMethods::select_child()` to `LookAheadChildren::select()`
- move `LookAheadSelection::for_explicit_type()` to `LookAheadSelection::children_for_explicit_type()`
- make `LookAheadSelection::arguments()` returning iterator over `LookAheadArgument`
- make `LookAheadSelection::children()` returning `LookAheadChildren`

Co-authored-by: Kai Ren <tyranron@gmail.com>
2024-01-16 19:17:07 +00:00
..
src Rework look-ahead machinery as lazy-evaluated (#1212) 2024-01-16 19:17:07 +00:00
Cargo.toml Upgrade syn crate to 2.0 version (#1157) 2023-11-01 19:00:05 +01:00
CHANGELOG.md Upgrade syn crate to 2.0 version (#1157) 2023-11-01 19:00:05 +01:00
LICENSE Update copyright notices to 2024 year 2024-01-02 15:59:19 +01:00
README.md Upgrade syn crate to 2.0 version (#1157) 2023-11-01 19:00:05 +01:00
release.toml Improve CI (#1113) 2022-10-21 16:07:17 +00:00

juniper_codegen crate

Crates.io Documentation CI Rust 1.73+

Code generation for juniper crate.

DO NOT use it directly, use juniper crate instead.

License

This project is licensed under BSD 2-Clause License.