fix: ApolloServerInterceptor httpCall is now cloned to prevent "Illeg…#386
fix: ApolloServerInterceptor httpCall is now cloned to prevent "Illeg…#386reguez wants to merge 1 commit intoawslabs:mainfrom
Conversation
…alStateException: Already executed"
|
@reguez can you please identify how you trigger the issue so that we can test your solution out? |
|
@gpanshu |
|
@gpanshu when can we expect an update? Multiple clients are experiencing this issue. |
|
@oussama-reguez could you please provide steps for reproduction? |
fix: ApolloServerInterceptor HTTP call is now cloned to prevent "IllegalStateException: Already executed"
Issue #, if available:
IllegalStateException is raised when a Call is used multiple times
Description of changes:
use call.clone().enqueue(..) for Asynchronous and call.clone().execute() for Synchronous respectively to ensure that you have a fresh, unexecuted Call for each request.