-
Notifications
You must be signed in to change notification settings - Fork 142
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
Initial implemention of { <relationship>: { data: null } }
nullification
#306
base: main
Are you sure you want to change the base?
Initial implemention of { <relationship>: { data: null } }
nullification
#306
Conversation
…ation This commit updates graphiti to be able to nullify relations only if `null` is specified in the assocation payload. This will still need feedback from the library maintainers, and after approval of design tests will need written to test this feature.
Thanks so much for the work on this @Samsinite and sorry for the delay. I think this looks overall good. My main thought is maybe for I got a little bit lost with I think it might be a good step to A) start with Again, thanks so much for this ❤️ Great to see! |
@richmolj sorry just got back from vacation for the holidays. I originally looked at using the The persistence code could be updated so that The |
This commit updates Graphiti to be able to nullify relations only if
null
is specified in the association payload. This will still needfeedback from the library maintainers, and after approval of design
tests will need written to test this feature.
Created as a draft, just looking for feedback on the design before starting to add test coverage around this feature. Let me know what you like/don't like so I can adjust as needed. Thanks!