# frozen_string_literal: true
require "graphql/static_validation/error"
require "graphql/static_validation/definition_dependencies"
require "graphql/static_validation/type_stack"
require "graphql/static_validation/validator"
require "graphql/static_validation/validation_context"
require "graphql/static_validation/literal_validator"
require "graphql/static_validation/base_visitor"
require "graphql/static_validation/no_validate_visitor"

rules_glob = File.expand_path("../static_validation/rules/*.rb", __FILE__)
Dir.glob(rules_glob).each do |file|
  require(file)
end

require "graphql/static_validation/all_rules"
require "graphql/static_validation/default_visitor"
require "graphql/static_validation/interpreter_visitor"
