Extracting avram operation agnostic logic #1115
Open
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.
This might overlap with the objectives of #1112 but it was a dream I had for a long time.
I LOVE the Lucky concept of Operation : specific business logic encapsulated in a single file.
It uses typing and validation to make things really robust. So why non-db related logic (think services) coulnd't benefit from these goodies ?
Again, I used Claude to extract a new
Lucky::BaseOperationfile and new files that can be moved to the lucky shard repo.Thinking about operation dependent code in the lucky repo, we can really be free of Avram requirement.