how to specify Resources with typegraphql
Closed this issue · 0 comments
chrisschaub commented
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} />