Add ability to send custom identifiers with web socket messages #1837
Labels
apollo-websockets
enhancement
Issues outlining new things we want to do or things that will make our lives as devs easier
Feature request
The current state of our
RequestBodyCreator
's interaction with our web socket library'sOperationMessage
does not allow the user to set an ID on the operation message itself. This limits what can be done with each message since some servers rely on the ID of the operation message being something specific, rather than the current setup which uses the number in the sequence of messages as the ID.We should add the ability to have the
id
onOperationMessage
have a specified value.Motivation
This will facilitate supporting servers which require a custom identifier to be passed along with the subscriptions, specifically AWS AppSync subscriptions.
See more extensive discussion here
Outstanding Questions
The text was updated successfully, but these errors were encountered: