Major Changes
- #12851
32bc830
Thanks @phryneas! - Add a newclientSetup
codemod step which applies the following steps from the migration guide to your Apollo Client setup code:- Moves
uri
,headers
andcredentials
to thelink
option and creates a newHttpLink
instance - Moves
name
andversion
into aclientAwareness
option - Adds a
localState
option with a newLocalState
instance, movesresolvers
, and removestypeDefs
andfragmentMatcher
options - Changes the
connectToDevTools
option todevtools.enabled
- Renames
disableNetworkFetches
toprioritizeCacheValues
- If
dataMasking
is enabled, adds a template for global type augmentation to re-enable data masking types - Adds the
incrementalHandler
option and adds a template for global type augmentation to accordingly type network responses in custom links
- Moves