Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Switch to concrete Success/Failure result classes #18

Merged
merged 1 commit into from
May 12, 2024

Conversation

benpickles
Copy link
Owner

Data within an operation is now gathered on a separate Data object that’s passed to a concrete Success/Failure result instance on completion. Convenience data accessors are defined on the Data object (via the renamed .data_attr) but remain available on the result using the magic of #method_missing.

Within an operation data is now gathered on a separate Data object that’s passed to the result on completion.
@benpickles benpickles merged commit 22d2292 into main May 12, 2024
4 checks passed
@benpickles benpickles deleted the concrete-result-classes branch May 12, 2024 09:31
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant