🐛 Bug: apollo-link-rest shares a single global for @export(as:)
elements, breaking concurrency
#81
Labels
@export(as:)
elements, breaking concurrency
#81
As currently implemented,
apollo-link-rest
shares a single global hash for@export(as: "foo")
annotated data.https://github.com/apollographql/apollo-link-rest/blob/master/src/restLink.ts#L541
This hash gets reset once per GraphQL request, but since requests can happen in parallel, technically, this means they're clobbering each other, and could lead to data-corruption / intermittent timing-related crashes.
The text was updated successfully, but these errors were encountered: