Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add deferred executions to rename transform #559

Conversation

sbarker2
Copy link
Collaborator

adding deferred executions to the rename transformer (it previously would ignore @defer directives

sbarker2 and others added 10 commits June 27, 2024 09:26
* nextgen engine changes for defer

* adding defer tests

* adding more stuff to defer tests

* Ignore failing tests (defer queries with multiple service call)

* ignore location field in defer test errors (#554)

* fix error locations bug (#555)

* changing defer tests

* remove @ignore on previously failing tests

* update test snapshots

* cleaning up defer tests
* Bump GraphQL Java

Should pull in

Fix builder return type and expose generic toSpecification #3642
graphql-java/graphql-java#3642

* Fix build

* Fix test expected errors
* Add individual update snapshot functions

* Update tests

* Make private
# Conflicts:
#	test/src/test/kotlin/graphql/nadel/tests/next/fixtures/defer/ComprehensiveDeferQueryWithDifferentServiceCallsSnapshot.kt
#	test/src/test/kotlin/graphql/nadel/tests/next/fixtures/defer/DeferOnListItemsTestSnapshot.kt
#	test/src/test/kotlin/graphql/nadel/tests/next/fixtures/defer/DeferThrowsErrorTestSnapshot.kt
#	test/src/test/kotlin/graphql/nadel/tests/next/fixtures/defer/DeferWithIfFalseTestSnapshot.kt
#	test/src/test/kotlin/graphql/nadel/tests/next/fixtures/defer/DeferWithLabelTestSnapshot.kt
#	test/src/test/kotlin/graphql/nadel/tests/next/fixtures/defer/DeferWithoutLabelTestSnapshot.kt
#	test/src/test/kotlin/graphql/nadel/tests/next/fixtures/defer/MultipleDeferDirectivesTestSnapshot.kt
#	test/src/test/kotlin/graphql/nadel/tests/next/fixtures/defer/MultipleDeferWithDifferentServiceCalls.kt
#	test/src/test/kotlin/graphql/nadel/tests/next/fixtures/defer/MultipleDeferWithDifferentServiceCallsSnapshot.kt
#	test/src/test/kotlin/graphql/nadel/tests/next/fixtures/defer/MultipleFieldsinMultipleDeferDirectivesTestSnapshot.kt
#	test/src/test/kotlin/graphql/nadel/tests/next/fixtures/defer/MultipleFieldsinSingleDeferDirectiveTestSnapshot.kt
#	test/src/test/kotlin/graphql/nadel/tests/next/fixtures/defer/NestedDefersTest.kt
#	test/src/test/kotlin/graphql/nadel/tests/next/fixtures/defer/NestedDefersTestSnapshot.kt
* Enable union validation

* Add more tests around omitted union members

* Let's sunset this behavior, it introduces complexity without consumers

* Add unit tests for union validation

* Wording

* More tests
@sbarker2 sbarker2 closed this Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants