Skip to content

Commit

Permalink
fix deprecated graphql relay fields
Browse files Browse the repository at this point in the history
  • Loading branch information
kylesferrazza committed May 7, 2023
1 parent 02225e3 commit d7f2848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/graphql/types/query_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module Types
class QueryType < Types::BaseObject
# Add root-level fields here.
# They will be entry points for queries on your schema.
add_field(GraphQL::Types::Relay::NodeField)
add_field(GraphQL::Types::Relay::NodesField)
include GraphQL::Types::Relay::HasNodeField
include GraphQL::Types::Relay::HasNodesField

field :impersonating, Boolean, null: false
def impersonating
Expand Down

0 comments on commit d7f2848

Please sign in to comment.