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

Refactor desktop Closed Tradable model utils for API #5743

Merged
merged 5 commits into from
Oct 6, 2021

Conversation

ghubstan
Copy link
Member

@ghubstan ghubstan commented Oct 5, 2021

Move some potentially shareable utility code from desktop's ClosedTrade models to core's new ClosedTradeUtil.

The API's gettrades --category=<open|closed|failed> method will need some of this logic on the server side, but the scope of the refactoring is larger in the interest of completeness, and avoiding duplication in the future.

This PR's branch is based off master, and is not part of any PR chain requiring review/merge of any parent PRs.

Move some potentially sharable utility code from desktop's ClosedTrade
models to core's new ClosedTradeUtil.

The API's `gettrades --category=<open|closed|failed>` method will need
some of this logic on the server side, but the scope of this refactoring
is larger in the interest of a more complete refactor, and avoiding
duplication in the future.
Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

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

utACK

@ripcurlx ripcurlx added this to the v1.7.5 milestone Oct 6, 2021
@ripcurlx ripcurlx merged commit d58f332 into bisq-network:master Oct 6, 2021
@ghubstan ghubstan deleted the refactor-closed-trade-util branch November 10, 2021 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants