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

Model Changes w Macros #303

Closed
seandenigris opened this issue Sep 8, 2022 · 1 comment
Closed

Model Changes w Macros #303

seandenigris opened this issue Sep 8, 2022 · 1 comment
Labels
stale Closed after 6 months to limit bug bankruptcy; can be reopened if still important

Comments

@seandenigris
Copy link
Member

seandenigris commented Sep 8, 2022

Two use cases jump out:

  • Field dependencies e.g. for web forms. For example, I have an online compounding interest calculator. If one field is changed, another should autoupdate. For more info, see Field Dependencies #152.
  • Checked mementos. Right now there are dumb dictionaries. The problem is when the model is more complex than "one change affects one field".

Use case: I have a "Federal Register" work representing the series. Now, I have a particular issue "Vol. 87, No. 18/Thursday, January 27, 2022" that I want to add as a child. Currently, the to-many relations just copy the collection and add a new item, but in this case, the parent implements #addChild: because there is mutual setup to be done between the parent and the child. I don't see how this can be handled with the current API. There is the initialization block, but this setup should only be done if the child is actually added, not on child creation.

@stale
Copy link

stale bot commented Nov 22, 2022

To limit bug bankruptcy (see https://www.joelonsoftware.com/2012/07/09/software-inventory/) this issue has been automatically marked as stale because it has not had any activity in 6 months. If no further activity occurs, it might be closed. If this issue remains important to you, please comment to reactivate the issue. Thank you for your contributions.

@stale stale bot added the stale Closed after 6 months to limit bug bankruptcy; can be reopened if still important label Nov 22, 2022
@stale stale bot closed this as completed Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Closed after 6 months to limit bug bankruptcy; can be reopened if still important
Projects
None yet
Development

No branches or pull requests

1 participant