Support errorPolicy
in useSubscription
hook and subscribeToMore
function
#11165
Labels
Milestone
errorPolicy
in useSubscription
hook and subscribeToMore
function
#11165
Subscriptions created via
client.subscribe(...)
adhere to theerrorPolicy
passed into its options (#11162). This however is missing currently inuseSubscription
andsubscribeToMore
even though they use the same primitive function to kick off the subscription.To ensure feature parity,
errorPolicy
should be a supported option inboth thetheuseSubscription
hook andsubscribeToMore
function available onObservableQuery
.Edit: support for
errorPolicy
inuseSubscription
is live with 3.11.The text was updated successfully, but these errors were encountered: