What's Changed
⚠️ Breaking
If you try to map relations at a sub-path using buildForQuery()
and that sub-path was not selected in the query submitted by a GraphQL client, an empty RelationMap will now be produced instead of throwing an error. The previous behavior was a bug, but we're treating it as a breaking change just to be safe.
Full Changelog: v2.0.2...v3.0.0