All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
- fix issue with unmodifiable lists
- use
reader
and writer
instead of passing objects directly
- make normalization agnostic to argument order
- allow user to specify whether partial data should be returned (defaults to false)
- use standart Json type
- update
gql
dependency
denormalize
and denormalizeFragment
now return null if there is a existing data with different variables in the map (they previously returned an empty object).
- operationName parameter for multi-operation documents
- normalizeFragment function
- denormalizeFragment function
- Optionally add typenames when denormalizing
- Initial normalize and denormalize implementations 🚀
- Support for variables
- Support for fragments (definitions and inline)
- Support for Apollo-style TypePolicies
- Support for Aliases
- Support for interface & union types
- Tests (for all of the above)