Closed PowerKiKi closed 5 months ago
Latest commit: 2ac7e0916aebfb0b43865757abe0c3aad195814e
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
ApolloBase.client
throws an error if no client has been created beforehand. The behavior now matches the typing that always declared a client existed. In most cases, you should pass eitherapolloOptions
orapolloNamedOptions
toApollo.constructor
to create the client immediately upon construction.ApolloBase.query()
,ApolloBase.mutate()
andApolloBase.subscribe()
all have a new constraint onV
. If you inherit from this class, you might need to adjust your typing.Query
,Mutation
andSubscription
must declare thedocument
member. This requirement always existed at runtime but was not enforced at compile time until now. If you generated code, you have nothing to do.QueryRef.getLastResult()
andQueryRef.getLastError()
might returnundefined
. This was always the case, but was typed incorrectly until now.pickFlag()
was dropped without any replacement.createPersistedQueryLink()
requires options. This was always the case but was typed incorrectly until now.