lib/graphql/directive/include_directive.rb in graphql-0.18.14 vs lib/graphql/directive/include_directive.rb in graphql-0.18.15
- old
+ new
@@ -1,10 +1,6 @@
GraphQL::Directive::IncludeDirective = GraphQL::Directive.define do
name "include"
description "Include this part of the query if `if` is true"
locations([GraphQL::Directive::FIELD, GraphQL::Directive::FRAGMENT_SPREAD, GraphQL::Directive::INLINE_FRAGMENT])
argument :if, !GraphQL::BOOLEAN_TYPE
-
- include_proc -> (arguments) {
- arguments["if"]
- }
end