Skip to content

Parsing nested envelopes? #2287

Closed Answered by rubenfonseca
sk0g asked this question in Q&A
May 18, 2023 · 4 comments · 1 reply
Discussion options

You must be logged in to vote

It seems to me that the event sources can be combined in any way, and we're struggling to keep up with new combinations of possible pairs (or more) of nested envelopes.

I propose we take some time to consider an alternative solution where we implement a PipelineEnvelope and just add as many basic models as we want. The parser would then validate and unwrap the arbitrary combination of Envelopes, thus avoiding us to continue to create and test specific combinations.

What do you think of this @sk0g ? We can work on the developer experience to see if it makes sense.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by heitorlessa
Comment options

You must be logged in to vote
1 reply
@heitorlessa
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
4 participants