spec/graphql/language/generation_spec.rb in graphql-0.18.15 vs spec/graphql/language/generation_spec.rb in graphql-0.19.0

- old
+ new

@@ -94,9 +94,13 @@ } input AnnotatedInput @onInputObjectType { annotatedField: Type @onField } + + directive @skip(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT + + directive @include(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT schema } it "generate" do assert_equal query_string.gsub(/^ /, "").strip, document.to_query_string