File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
packages/query-graphql/src/resolvers/relations Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,11 @@ export type ResolverRelation<Relation> = {
63
63
*/
64
64
allowFiltering ?: boolean
65
65
66
+ /**
67
+ * Description of the relation.
68
+ */
69
+ description ?: string
70
+
66
71
update ?: Pick < ResolverRelation < Relation > , 'description' > & ResolverRelationMethodOpts
67
72
remove ?: Pick < ResolverRelation < Relation > , 'description' > & ResolverRelationMethodOpts
68
73
/**
@@ -76,7 +81,7 @@ export type ResolverRelation<Relation> = {
76
81
ResolverMethodOpts &
77
82
QueryArgsTypeOpts < Relation > &
78
83
Pick < ConnectionOptions , 'enableTotalCount' > &
79
- Omit < FieldOptions , 'name' | 'middleware' >
84
+ Omit < FieldOptions , 'name' | 'description' | ' middleware'>
80
85
81
86
export type RelationTypeMap < RT > = Record < string , RT >
82
87
You can’t perform that action at this time.
0 commit comments