We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@Relations.toOne
saving
Describe the bug When I insert a task, I noticed that all @Relations.toOne are triggered before the saving hook.
insert
To Reproduce Here is the repro: https://stackblitz.com/edit/github-j2kvts?file=src%2Fshared%2Fmodel.ts Click on the GOOO button and see logs.
GOOO
Expected behavior Only defaultIncluded fields should be requested, not all @Relations.toOne
defaultIncluded
Additional context It's not happening in initApi 🤔
initApi
The text was updated successfully, but these errors were encountered:
I decided a bit differently - I simply do not reload them in this scenario - if someone needs them loaded - they can do it manually
Sorry, something went wrong.
#426
940541b
#426 (#435)
c0a6762
Working well ✅ Thx 🎉
No branches or pull requests
Describe the bug
When I
insert
a task, I noticed that all@Relations.toOne
are triggered before thesaving
hook.To Reproduce
Here is the repro:
https://stackblitz.com/edit/github-j2kvts?file=src%2Fshared%2Fmodel.ts
Click on the
GOOO
button and see logs.Expected behavior
Only
defaultIncluded
fields should be requested, not all@Relations.toOne
Additional context
It's not happening in
initApi
🤔The text was updated successfully, but these errors were encountered: