Skip to content

how to specify Resources with typegraphql #109

@chrisschaub

Description

@chrisschaub

I am using the beta useDataProvider

  const dataProvider = useDataProvider({
    clientOptions: { uri: "localhost:4000/graphql" },
    queryDialect: "typegraphql"
  })

How would I get the vars like

import { UserList, UserEdit, UserCreate } from "./resources/user

using this method?

This?

<Resource name="Customer" list={ListGuesser} />

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