Commit 9eecfb3e authored by Allison Browne's avatar Allison Browne Committed by Michael Kozono

Graphql Query Type: Order type User type above Users

parent 7ee1b1f9
...@@ -47,6 +47,11 @@ module Types ...@@ -47,6 +47,11 @@ module Types
null: false, null: false,
description: 'Fields related to design management' description: 'Fields related to design management'
field :user, Types::UserType,
null: true,
description: 'Find a user',
resolver: Resolvers::UserResolver
field :users, Types::UserType.connection_type, field :users, Types::UserType.connection_type,
null: true, null: true,
description: 'Find users', description: 'Find users',
...@@ -56,11 +61,6 @@ module Types ...@@ -56,11 +61,6 @@ module Types
description: 'Text to echo back', description: 'Text to echo back',
resolver: Resolvers::EchoResolver resolver: Resolvers::EchoResolver
field :user, Types::UserType,
null: true,
description: 'Find a user',
resolver: Resolvers::UserResolver
def design_management def design_management
DesignManagementObject.new(nil) DesignManagementObject.new(nil)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment