Skip to content

Type-safety of Channel.subscribeTo#109

Merged
Nuno Campos (nfcampos) merged 1 commit intolangchain-ai:mainfrom
functorism:channel-subscribe-to-type-safety
Apr 16, 2024
Merged

Type-safety of Channel.subscribeTo#109
Nuno Campos (nfcampos) merged 1 commit intolangchain-ai:mainfrom
functorism:channel-subscribe-to-type-safety

Conversation

@functorism
Copy link
Copy Markdown
Contributor

Ensure Channel.subscribeTo(["input"], { key: "key" }) which throws at runtime is a type-error.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks reasonable to me. cc Nuno Campos (@nfcampos) for a second look

Copy link
Copy Markdown
Contributor

@nfcampos Nuno Campos (nfcampos) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this

@nfcampos Nuno Campos (nfcampos) merged commit 9443333 into langchain-ai:main Apr 16, 2024
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