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

[Feature Request] entsql.OnUpdate Annotation #3776

Open
1 task done
BrandSnob opened this issue Oct 5, 2023 · 0 comments · May be fixed by #4014
Open
1 task done

[Feature Request] entsql.OnUpdate Annotation #3776

BrandSnob opened this issue Oct 5, 2023 · 0 comments · May be fixed by #4014

Comments

@BrandSnob
Copy link

We have Foreign Keys Configuration which makes us able to configure .OnDelete, but sometimes we also need to configure .OnUpdate which i cannot find it configurable in ent!

  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

Just how .OnDelete works with annotations, but for OnUpdate! e.g: .Annotations(entsql.OnUpdate(entsql.Restrict))

@BrandSnob BrandSnob linked a pull request Apr 14, 2024 that will close this issue
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 a pull request may close this issue.

1 participant