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

moving away from unlink/unlinkAll/link #57

Open
Lewke opened this issue Feb 20, 2019 · 1 comment
Open

moving away from unlink/unlinkAll/link #57

Lewke opened this issue Feb 20, 2019 · 1 comment

Comments

@Lewke
Copy link

Lewke commented Feb 20, 2019

unlink/unlinkAll/link are awful functions in the Yii framework, they assume everything is going to go correctly and fire off database errors instead of validation errors.

Would a PR without unlink/unlinkAll/link be desirable?

@tuyakhov
Copy link
Owner

Hi @Lewke
Yes I agree that unlink/unlinkAll/link functions are not an ideal solution and would be glad to see how you solved saving related records without those.

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

No branches or pull requests

2 participants