Skip to content

Commit

Permalink
Remove supergraph static validator
Browse files Browse the repository at this point in the history
  • Loading branch information
gmac authored Oct 1, 2024
1 parent 6e3210f commit efe3633
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/graphql/stitching/supergraph.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ def initialize(schema:, fields: {}, resolvers: {}, executables: {})
end.freeze
end

# @return [GraphQL::StaticValidation::Validator] static validator for the supergraph schema.
def static_validator
@static_validator ||= @schema.static_validator
end

def resolvers_by_version
@resolvers_by_version ||= resolvers.values.tap(&:flatten!).each_with_object({}) do |resolver, memo|
memo[resolver.version] = resolver
Expand Down

0 comments on commit efe3633

Please sign in to comment.