implement subcategory
This commit is contained in:
@@ -24,7 +24,8 @@ export class ServiceAndCategorySchema extends PothosSchema {
|
||||
serviceId: t.exposeID('serviceId'),
|
||||
categoryId: t.exposeID('categoryId'),
|
||||
service: t.relation('service'),
|
||||
category: t.relation('category'),
|
||||
subCategory: t.relation('SubCategory'),
|
||||
subCategoryId: t.exposeID('subCategoryId'),
|
||||
}),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user