Skip to content

Conversation

Vild
Copy link

@Vild Vild commented Aug 12, 2025

I'm not 100% sure if this logic is fully correct.
But it fixes the code generator so it outputs correct code within the deserialize function when tristate is enabled.

Context:
It didn't recognize that graphql type scalar MyScalar needed to be built via a Builder, and could not be directly assigned.
So I got a bunch of "GMyScalarBuilder is not assignable with GMyScalar`.

I tried to add tests for this fix,, but gave up as it kept never generating the GMyScalar type.

@Vild Vild force-pushed the fix_tristate_builder branch from 51fbe5b to bfe7a2b Compare September 30, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant