Skip to content

Conversation

@rekmarks
Copy link
Member

@rekmarks rekmarks commented Nov 6, 2024

Ref #218

Adds consumer-provided input validation to streams in the form of a function constructor argument. This is necessary in order for streams to actually enforce the types they claim to read and write. Input validation only occurs in read streams, because we can simply rely on TypeScript to write the correct values. If input validation fails, the read stream will end.

@rekmarks rekmarks requested a review from a team as a code owner November 6, 2024 08:05
@rekmarks rekmarks merged commit 69c5da8 into main Nov 6, 2024
@rekmarks rekmarks deleted the rekm/1-stream-input-validators branch November 6, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants