Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Ensure updateQuery is included in QueryResult with useLazyQuery #3583

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 11, 2019

  1. Ensure updateQuery is included in QueryResult with useLazyQuery

    From [the documentation](https://www.apollographql.com/docs/react/api/react-hooks/#result-1) the result object returned by `useLazyQuery` should contains the `updateQuery` property.
    
    ## Side note
    In this point of code there is an unsafe casting which prevent to spot the error using the type system.
    Probably other properties are missing.
    bwlt committed Oct 11, 2019
    Configuration menu
    Copy the full SHA
    28de0aa View commit details
    Browse the repository at this point in the history