-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Description
version:
prisma: 2.21.0
nexus-plugin-prisma: 0.34.1
const defaultQueries = queryType({
definition: (t) => {
// ok
t.crud.adsProducts({
filtering: true,
ordering: true,
});
// ok
t.crud.adsProduct({
});
// ok
t.crud.eventCategory({
description: '카테고리 정보',
});
// error
t.crud.eventCategories()
},
});
this is error message
(property) eventCategories: (opts: {
type: "ERROR: No subset types are available. Please make sure that one of your GraphQL type is a subset of your t.model('')";
} & {
alias?: undefined;
resolve?: CustomFieldResolver<...> | undefined;
computedInputs?: LocalComputedInputs<...> | undefined;
} & NexusGenPluginFieldConfig<...> & CommonFieldConfig & {
...;
}) => NexusPrismaFields<...>
How can i handle resolver name in irregular deformation for plural word?
Metadata
Metadata
Assignees
Labels
No labels