-
Notifications
You must be signed in to change notification settings - Fork 205
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
Support multiple teams #60
Comments
Wouldn't it be cool to be able to instantiate a |
You'd still need to provide the endpoints as well, so wrapping all that up in a Ideally the client would generally only be instantiated in the Laravel service provider, or some other IoC type deal. But, even if it was in a a controller, it should still be a one-off thing. We could also have an |
Ok, so the teams are not in the config file? It feels a bit away from the quick and simple usage yet. Edit: Ok, you have moved the laravel parts in another repo - sorry. So this is everything thought for laravel.^^ |
Ah yes, sorry for the confusion. Yeah, for Laravel you'd have your teams in a config file, and then just simply |
We need to support multiple teams. As part of the 2.0 release, we'll be moving away from simply an 'endpoint' and have a first-class
Team
object. A client can be instantiated with one or more teams. Each team will have a default channel, and a name which can be used to refer to that team, e.g. 'mycompany'.Example usage:
The full lead up discussion to the feature is over at #44.
I plan to work on this next weekend.
The text was updated successfully, but these errors were encountered: