-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[improve][client] Add schema typing to consumer and producer #278
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add some schema tests to verify this PR?
@RobertIndie |
index.d.ts
Outdated
@@ -236,3 +245,21 @@ export type ConsumerCryptoFailureAction = | |||
'FAIL' | | |||
'DISCARD' | | |||
'CONSUME'; | |||
|
|||
export type SchemaType = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export type SchemaType = | |
export type SchemaType = |
@romainbrancourt |
LGTM |
Modifications
Add schema typing to consumer and producer
Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Documentation
doc-required
(Your PR needs to update docs and you will update later)
doc-not-needed
(Please explain why)
doc
(Your PR contains doc changes)
doc-complete
(Docs have been already added)