Skip to content

Conversation

@kevindierkx
Copy link
Contributor

Replaced Database Connection instances in favor of repositories, comparable to: #90

Added support to swap models, possible solution for: #58

// On repositories
AuthCodeRepository::setModel(SomeOtherModel::class);
ClientRepository::setModel(SomeOtherModel::class);
RefreshTokenRepository::setModel(SomeOtherModel::class);
TokenRepository::setModel(SomeOtherModel::class);

// On models
Client::setTokenModel(SomeOtherModel::class);

Fixed an issue with a previously issued PR (#111) regarding the RepositoryTrait.

@taylorotwell
Copy link
Member

Honestly no plans at this at this time. It's overcomplicated for what I envisioned Passport being.

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