define a custom class: class CustomEnumValue < GraphQL::Schema::EnumValue def initialize(*args) # arguments to `value(.
Read More