class GraphQL::Directive

def on_field?

def on_field?
  locations.include?(FIELD)
end