Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

The value definition can't be found #135

Open
@painedpineapple

Description

@painedpineapple

I'm following the basic useQuery example (https://github.com/reasonml-community/reason-apollo-hooks#usequery-arrow_up) but am receiving the following error:

161 ┆ [@react.component]
  162 ┆ let make = () => {
  163 ┆   let (simple, _) = useQuery(UsersQuery.definition);

  The value definition can't be found in UsersQuery

I've created a small reproduction of the issue in this repo: https://github.com/thislogancall/apollo-graphql-definition-repro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions