This repository was archived by the owner on Jun 5, 2024. It is now read-only.
Open
Conversation
- method before is now called before UseCases set with depends, meaning that the execution order is: - before -> dependencies -> perform - it's now possible to set accessors to attributes in context, for example instead of doing context.parameter we can just write parameter, this can be with class methods: - context_reader - context_writer - context_accessor - you can skip the execution flow by invoking skip!, this will interrupt the current UseCase and it's dependencies like stop!, but it will continue with the following UseCases - it’s possible to insert a usecase to chain using invoke!
Author
|
Opening pull request for discussion. Tests broken most likely because of how I persist nodes, will try to fix after knowing if the changes are good :) PS: tests are fixed :) |
Collaborator
|
@junhanamaki It would be nice if you split this pull request in 4. One for each feature. |
Owner
|
@junhanamaki |
Author
|
Do you see as a good compromise to just remove the features not suited for the project, as opposed to creating more pull requests? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
we now can select the execution order that we prefer from:
just do: