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,
|
||||
description: 'A list of relationships between these two entity types.',
|
||||
args: {
|
||||
...connectionArgs,
|
||||
direction: {
|
||||
type: GraphQLString,
|
||||
description: 'Filter by the relationship direction.'
|
||||
},
|
||||
...fieldWithID('type', {
|
||||
description: 'Filter by the relationship type.'
|
||||
})
|
||||
}),
|
||||
...connectionArgs
|
||||
},
|
||||
resolve: resolveRelationship
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue