Repository navigation
Use optional for nullable input object resolver arguments - #364
Draft
Bill Avery (wravery) with Copilot wants to merge 147 commits into
Draft
Bill Avery (wravery) with Copilot wants to merge 147 commits into
Bill Avery (wravery) with Copilot wants to merge 147 commits into
Conversation
Groundwork in CMake, build workflows, and header include cleanup
Add enum value validation
chore: regenerate samples with enum validation
Co-authored-by: wravery <6502881+wravery@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix error compiling in resolve function
Use optional for nullable input object resolver arguments
Sep 15, 2026
Nullable input objects could produce mismatched resolver signatures and conversions, particularly for fields returning built-in scalars. Generated code declared
std::optional<T>but passedstd::unique_ptr<T>, causing compilation failures.Argument classification
Type generation
std::optional<T>consistently for nullable input-object resolver arguments.std::unique_ptr<T>for recursive input-object members.