Skip to content
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

Document multiple instances of same provider #70

Open
Bilge opened this issue Jul 13, 2021 · 0 comments
Open

Document multiple instances of same provider #70

Bilge opened this issue Jul 13, 2021 · 0 comments

Comments

@Bilge
Copy link
Member

Bilge commented Jul 13, 2021

Although we normally add a provider to the container by its class name and expect a single instance of each provider in the container, there are many valid use cases for adding the same provider multiple times. Document these use cases with examples and how-tos.

Often, we may operate multiple accounts with a given provider for various reasons. Examples:

  • Multiple Stripe accounts for handling payments in different currencies
  • Multiple Discord bots to leverage separate request rate limits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant