Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: POC refactor for TokenRejectFlow #868

Merged
merged 5 commits into from
Jan 14, 2025

Conversation

gsstoykov
Copy link
Contributor

Description:
Introduces an example improvement to TokenRejectFlow class. There is no need to create overcomplicated class hierarchies as Flows are not Transactions themselves so that approach would be hurtful to our design. Instead I decided that we can just hold transactions themselves as members of the flows and this way we won't have to reimplement existing selectors/mutators and etc. every time we have to create a flow. Also this way we can treat every transaction individually meaning that we can freely set execution and transaction parameters.

Related issue(s):

Fixes #822

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@gsstoykov gsstoykov added the Improvement Code changes driven by non business requirements label Jan 3, 2025
@gsstoykov gsstoykov self-assigned this Jan 3, 2025
@gsstoykov gsstoykov linked an issue Jan 3, 2025 that may be closed by this pull request
@gsstoykov gsstoykov marked this pull request as ready for review January 14, 2025 15:01
@gsstoykov gsstoykov requested review from a team as code owners January 14, 2025 15:01
Copy link
Contributor

@rwalworth rwalworth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Code changes driven by non business requirements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Develop PoC for generic flow objects
2 participants