Class: GraphqlDeclarative::Resolver::SortDirection

Inherits:
GraphQL::Schema::Enum
  • Object
show all
Defined in:
lib/graphql_declarative/resolver.rb

Overview

One shared enum class, not one per resolver: it is the same two values everywhere, and reusing the class means one SortDirection type in the schema instead of one per list endpoint.