Change8

@apollo/client@4.0.0-alpha.18

📦 apollo-client
1 features🔧 7 symbols

Summary

Introduces an optional override mechanism for Apollo Client’s DataMasking types, allowing custom implementations while preserving default behavior.

Migration Steps

  1. If you want to use a custom DataMasking implementation, declare a module augmentation for "@apollo/client" that extends the DataMasking interface with your CustomDataMaskingImplementation as shown in the release notes.

✨ New Features

  • Add a mechanism to override the DataMasking types (Masked, MaskedDocumentNode, FragmentType, MaybeMasked, Unmasked) via a custom implementation interface.

🔧 Affected Symbols

DataMaskingMaskedMaskedDocumentNodeFragmentTypeMaybeMaskedUnmaskedHKT