mirror of
https://github.com/BradNut/graphbrainz
synced 2025-09-08 17:40:32 +00:00
Move relationship connection args to end
This commit is contained in:
parent
8b8338b332
commit
c2f7d9b836
1 changed files with 2 additions and 2 deletions
|
|
@ -144,14 +144,14 @@ export const relationship = {
|
||||||
type: RelationshipConnection,
|
type: RelationshipConnection,
|
||||||
description: 'A list of relationships between these two entity types.',
|
description: 'A list of relationships between these two entity types.',
|
||||||
args: {
|
args: {
|
||||||
...connectionArgs,
|
|
||||||
direction: {
|
direction: {
|
||||||
type: GraphQLString,
|
type: GraphQLString,
|
||||||
description: 'Filter by the relationship direction.'
|
description: 'Filter by the relationship direction.'
|
||||||
},
|
},
|
||||||
...fieldWithID('type', {
|
...fieldWithID('type', {
|
||||||
description: 'Filter by the relationship type.'
|
description: 'Filter by the relationship type.'
|
||||||
})
|
}),
|
||||||
|
...connectionArgs
|
||||||
},
|
},
|
||||||
resolve: resolveRelationship
|
resolve: resolveRelationship
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue