class GraphQL::Schema::Directive

def initialize(owner, **arguments)

def initialize(owner, **arguments)
  @owner = owner
  assert_valid_owner
  # It's be nice if we had the real context here, but we don't. What we _would_ get is:
  # - error handling
  # - lazy resolution
  # Probably, those won't be needed here, since these are configuration arguments,
  # not runtime arguments.
  @arguments = self.class.coerce_arguments(nil, arguments, Query::NullContext.instance)
end