Skip to content

Plans to deprecate apply_* handlers in AggregateRoot? #1345

Answered by mostlyobvious
dvrensk asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

We plan to get rid of apply_ methods approach in aggregate_root in RES 3.0 release (next major release introducing breaking changes). The timeline is not set in stone and we'll definitely add deprecation notices to last releases in RES 2.x line. The documentation went ahead since it is probably the first place people may learn about apply_ method handlers.

The PR removing it is here and there's also provisional list of expected changes in next major release. It has been sitting there for a while — no one likes introducing breaking changes frequently.

Despite future removal from aggregate_root you could still continue using this approach. It is a matter of providing desired apply st…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@dvrensk
Comment options

@mostlyobvious
Comment options

@dvrensk
Comment options

Answer selected by dvrensk
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants