You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.
#223 introduces acquire_in, which adds errors to the given context automatically. This arises from the addition of generic.contemporary_exists, which would cause quite high and error-prone service implementation complexity if no automated approach was provided.
Although create-in/update-in/delete-in context mechanisms don't necessarily have the same level of complexity, there is still common boilerplate arising. For those who don't like the idea of mutating the context hierarchy then that approach is still fine, but adding in corresponding "!" methods makes sense for those who want simpler service code.
Examples:
update_in leads to update_in! (could add both "not-found" and e.g. validation errors)
manually_dated_destruction_in leads to manually_dated_destruction_in! (could add "not-found")
The text was updated successfully, but these errors were encountered:
#223 introduces
acquire_in
, which adds errors to the givencontext
automatically. This arises from the addition ofgeneric.contemporary_exists
, which would cause quite high and error-prone service implementation complexity if no automated approach was provided.Although create-in/update-in/delete-in context mechanisms don't necessarily have the same level of complexity, there is still common boilerplate arising. For those who don't like the idea of mutating the
context
hierarchy then that approach is still fine, but adding in corresponding "!" methods makes sense for those who want simpler service code.Examples:
update_in
leads toupdate_in!
(could add both "not-found" and e.g. validation errors)manually_dated_destruction_in
leads tomanually_dated_destruction_in!
(could add "not-found")The text was updated successfully, but these errors were encountered: