Skip to content

feat: make CarrierRegistry generic to support carrier subtypes#218

Open
syed-ghufran-hassan wants to merge 1 commit into
shlee322:mainfrom
syed-ghufran-hassan:patch-1
Open

feat: make CarrierRegistry generic to support carrier subtypes#218
syed-ghufran-hassan wants to merge 1 commit into
shlee322:mainfrom
syed-ghufran-hassan:patch-1

Conversation

@syed-ghufran-hassan

Copy link
Copy Markdown
  • Add generic type parameter T extending Carrier to CarrierRegistry interface
  • Default T to Carrier for backward compatibility
  • Update get() method return type to T | null
  • Update carriers getter return type to T[]
  • Enables type-safe usage with specific carrier implementations

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@syed-ghufran-hassan

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@syed-ghufran-hassan

Copy link
Copy Markdown
Author

CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request

recheck

@shlee322 shlee322 self-assigned this Jun 8, 2026
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.

2 participants