You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I recently implemented a feature which uses GraphQL Extensions and I'm trying to write a test which validates that they're being returned properly. It looks like extensions are available in the GraphQlResponse class but aren't available in the GraphQlTester.Response interface. Is there another way to access them, and if not, would it be possible to extend the interface to include extensions?
The text was updated successfully, but these errors were encountered:
Thanks for looking into this! I discovered another related issue today: it appears that extensions don't get included in WebSocket requests made with the GraphQL tester.
The test passes, but the server doesn't receive any extensions. It appears that this is caused by the AbstractGraphQlTesterBuilder which doesn't pass in extensions before executing its subscription.
rstoyanchev
changed the title
GraphQlTester.Response: Is there a way to get the response extensions?
GraphQlTester.Response should expose extensions
Feb 21, 2025
Hi, I recently implemented a feature which uses GraphQL Extensions and I'm trying to write a test which validates that they're being returned properly. It looks like extensions are available in the GraphQlResponse class but aren't available in the GraphQlTester.Response interface. Is there another way to access them, and if not, would it be possible to extend the interface to include extensions?
The text was updated successfully, but these errors were encountered: