Skip to content

Stream watch on query when inserting new records. #3228

Closed Answered by Le2e
Le2e asked this question in Q&A
Discussion options

You must be logged in to vote

Haven't smoothed out everything but did make a discovery yesterday that might be of interest to you.

The original implementation has a nested stream within the stream I was concerned with listening to.
Essentially, the first stream calls an asyncExpand and then opens a new stream within to a different repository and marries the data together before emitting.

Removal of this inner stream in favor of just a regular query has seemingly corrected the flow. Not sure what all that means underneath the hood and if thats something you'd be interested in, but thought I'd share.

Im guessing the original dev on this wanted to listen to changes to both tables and couldn't come up with a single query …

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@Le2e
Comment options

@simolus3
Comment options

@Le2e
Comment options

@Le2e
Comment options

Answer selected by simolus3
@simolus3
Comment options

@Le2e
Comment options

@dickermoshe
Comment options

@simolus3
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants