···11+---
22+'@urql/core': patch
33+---
44+55+Add deprecation notice for `maskTypename` option.
66+Masking typenames in a result is no longer recommended. It’s only
77+useful when multiple pre-conditions are applied and inferior to
88+mapping to an input object manually.
+2
packages/core/src/client.ts
···171171 preferGetMethod?: boolean | 'force' | 'within-url-limit';
172172 /** Instructs the `Client` to remove `__typename` properties on all results.
173173 *
174174+ * @deprecated Not recommended over modelling inputs manually (See #3299)
175175+ *
174176 * @remarks
175177 * By default, cache exchanges will alter your GraphQL documents to request `__typename` fields
176178 * for all selections. However, this means that your GraphQL data will now contain `__typename` fields you
+2
packages/core/src/utils/maskTypename.ts
···11/** Used to recursively mark `__typename` fields in data as non-enumerable.
22 *
33+ * @deprecated Not recommended over modelling inputs manually (See #3299)
44+ *
35 * @remarks
46 * This utility can be used to recursively copy GraphQl response data and hide
57 * all `__typename` fields present on it.