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

UserModel don´t necessarily need to be ActiveRecord #3

Open
thyseus opened this issue Apr 12, 2017 · 1 comment
Open

UserModel don´t necessarily need to be ActiveRecord #3

thyseus opened this issue Apr 12, 2017 · 1 comment
Assignees

Comments

@thyseus
Copy link
Owner

thyseus commented Apr 12, 2017

The Module should be adjusted so that UserModel don´t necessarily need to be ActiveRecord.

A yii\base\Model with an 'id' should be sufficient.

Goal will be that the module works with the yii2-basic-app.

@maxxer
Copy link

maxxer commented Jul 5, 2017

Maybe you can even get rid of the id restriction by using ->primaryKey? (haven't checked the source, just a guess)

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

2 participants