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

Quasi not validating OnDeleteCascade #1474

Open
maxigit opened this issue Feb 24, 2023 · 0 comments
Open

Quasi not validating OnDeleteCascade #1474

maxigit opened this issue Feb 24, 2023 · 0 comments

Comments

@maxigit
Copy link

maxigit commented Feb 24, 2023

I tried adding 'OnDeleteCascadeon a model definition but typedonDeleteCascade(starting with a lower case). Of course, the delete cascade feature didn'w work. However I was suprised that the compiler didn't winge about it. I don't know if adding something after a reference declaration is invalid or mean something, but letting people writeonDeleteCascade` is misleading. I would normally not test things like that. I only did it because I was unsure if and how it would work (first time I am using it).

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

1 participant