Move relationship connection args to end

This commit is contained in:
Brian Beck 2016-12-12 00:02:58 -08:00
parent 8b8338b332
commit c2f7d9b836

View file

@ -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
}