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

Add node version model #766

Merged
merged 8 commits into from
Feb 18, 2021
Merged

Add node version model #766

merged 8 commits into from
Feb 18, 2021

Conversation

OlegMakarenko
Copy link
Contributor

Resolved: #765

@rg911 rg911 requested a review from fboucquez February 18, 2021 09:32
Copy link
Contributor

@rg911 rg911 left a comment

Choose a reason for hiding this comment

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

What is the main purpose of this class? Convert/formatting or used as a data / dto model ?
If this is only used for conversion, could it be created inside the utility or formatter instead and make it more generic?

Copy link
Contributor

@fboucquez fboucquez left a comment

Choose a reason for hiding this comment

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

The class is to solve this issue https://github.com/nemgrouplimited/symbol-node-rewards/issues/162#issuecomment-779994288

It could be in a helper class but I think it's pretty nice. It follows the Address.ts and MosaicId.ts classes. Docs and Unit tests are awesome.

@rg911 rg911 merged commit 9f8b4d4 into symbol:dev Feb 18, 2021
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.

3 participants