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

foreignAutoUpdate? Updating foreign objects #113

Open
barrychapman opened this issue Sep 12, 2017 · 1 comment
Open

foreignAutoUpdate? Updating foreign objects #113

barrychapman opened this issue Sep 12, 2017 · 1 comment

Comments

@barrychapman
Copy link

@j256 - I recall seeing a forum post somewhere, where you had entertained the idea of adding a foreignAutoUpdate annotation.

Is this something that may be done in the future? It would be really useful. Especially, for example, if you update a join table which contains two foreign objects. You could then update those two included objects. This could be coupled with an isDirty() method.

Thanks!

@j256
Copy link
Owner

j256 commented Nov 4, 2021

Sorry to not leave feedback on this sooner. I've certainly read this issue and am still considering it. You've probably moved on but I've got some questions.

I assume that there would be an interface like AutoUpdatable or something which would define the isDirty() method. When would trigger it to be called.

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

2 participants