-
Notifications
You must be signed in to change notification settings - Fork 122
[BUGFIX] #244 Fix removing belongsTo relations #245
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
[BUGFIX] #244 Fix removing belongsTo relations #245
Conversation
|
related to #148 |
|
@frans-beech-it I am experiencing this issue as well. I have what I think is a very common use case in which the parent model has an optional singular child relationship. My use case is that I add a relationship and then want to remove it which I do by setting relationship to null. The resulting PATCH payload leaves it out rather than setting it to I'm guessing this PR is because progress stalled on #148? |
|
I'm not sure if #148 is still relevant. But my pr resolves this issue. You can try is in your own project by pasting the 2 methods touched in this PR in your own datastore service. Will try to add some tests to this soon so hopefully this can be merged. |
@fsaris Yep, grabbed |
|
@fsaris @frans-beech-it Any progress on merging this? |
|
Waiting for a merge too.... |
|
I am afraid I can't maintain this repo anymore. It would be best if you could talk to @ghidoz about transfering ownership. |
|
@HennerM tnx for merging |
Please let me know if you need someone to help here |
Sounds good 👍🏼 |
No description provided.