Skip to content

Release 3.0.1: fixes from public API checks - #13

Merged
ifmelate merged 2 commits into
masterfrom
fix/3.0.1
Oct 21, 2026
Merged

ifmelate merged 2 commits into
masterfrom
fix/3.0.1

Conversation

@ifmelate

Copy link
Copy Markdown
Owner

Fixes found by running generated code against public GraphQL APIs (Countries, Rick and Morty, GitLab, GitHub).

  • Variables with a default value are sent with that default when not given. The normalized cache doesn't apply defaults, so @include/@skip on such a variable made the query fail with PartialDataException
  • Nullable input list fields default to null instead of [] (both result type modes): [] in a filter means "none of these"
  • A schema type named Duration no longer hides dart:core Duration (pollInterval)

Tests: test/public_api_regressions_test.dart, updated runtime checks in the compile test.

@ifmelate
ifmelate merged commit 6d45ba2 into master Oct 21, 2026
2 checks passed
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