Skip to content

[Typescript] constructor config should be marked as optional #297

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

Closed
wants to merge 1 commit into from

Conversation

davidkhala
Copy link
Contributor

What

In most of example codes, new Kafka() is valid, but since the ts definition mark the config is mandatory, thus most of IDE will warn developer that config param is missing.

Checklist

  • Is customer facing change
  • No behavior changes
  • Did you add sufficient unit test and/or integration test coverage for this PR?
    • No, but if it is required, please let me know how

References

Test & Review

Not yet

Open questions / Follow-ups

constructor config mark as optional properly
@davidkhala davidkhala requested review from a team as code owners April 24, 2025 14:03
@cprovencher cprovencher added rebase and removed rebase labels May 16, 2025
@milindl
Copy link
Contributor

milindl commented May 23, 2025

Merged with #321 , thanks for the fix!

@milindl milindl closed this May 23, 2025
@davidkhala davidkhala deleted the patch-1 branch May 23, 2025 04:33
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy