Minor Changes
- Increase the consistency of when and how the
__typename
field is added to results. Instead of
adding it by default and automatically first, the__typename
field will now be added along with
the usual selection set. Thewrite
operation now automatically issues a warning if__typename
isn't present where it's expected more often, which helps in debugging. Also the__typename
field
may now not proactively be added to root results, e.g."Query"
, by @kitten (See #1185)
Patch Changes
- Replace
graphql/utilities/buildClientSchema.mjs
with a custom-tailored, lighter implementation
built into@urql/exchange-graphcache
. This will appear to increase its size by about0.2kB gzip
but will actually save around8.5kB gzip
to9.4kB gzip
in any production bundle by using less of
graphql
's code, by @kitten (See #1189) - Updated dependencies (See #1187, #1186, and #1186)
- @urql/core@1.16.0