returnPartialData property

  1. @protected
bool returnPartialData
inherited

Used for testing.

Passed through to normalize. When denormalizeOperation isn't passed returnPartialData, It will simply return null if any part of the query can't be constructed.

NOTE: This is not exposed as a configuration for a reason. If enabled, it would be easy to eagerly return an unexpected partial result from the cache, resulting in mangled and hard-to-reason-about app state.

Implementation

@protected
bool get returnPartialData => false;