Sha256: 65dfb798b60e8366767d8f3c3a5f32c2e4b49fe1a2f69d67f8414ec293b2d907
Contents?: true
Size: 403 Bytes
Versions: 2
Compression:
Stored size: 403 Bytes
Contents
module GraphQL class Query module DirectiveResolution def self.include_node?(irep_node, query) irep_node.directives.each do |directive_node| directive_defn = directive_node.definition args = query.arguments_for(directive_node) if !directive_defn.include?(args) return false end end true end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
graphql-0.16.1 | lib/graphql/query/directive_resolution.rb |
graphql-0.16.0 | lib/graphql/query/directive_resolution.rb |