Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

feat: user defined currencies #700

Merged
merged 20 commits into from
Jan 18, 2024
Merged

feat: user defined currencies #700

merged 20 commits into from
Jan 18, 2024

Conversation

hay-kot
Copy link
Owner

@hay-kot hay-kot commented Jan 5, 2024

To Do's

What type of PR is this?

(REQUIRED)

  • feature

What this PR does / why we need it:

(REQUIRED)

User's can now define currencies with a configuration file

Which issue(s) this PR fixes:

(REQUIRED)

Closes #695
Closes #674
Closes #642
Closes #539
Closes #561
Closes #656
Closes #685

Testing

Existing automated testing

hay-kot and others added 6 commits January 18, 2024 10:29
* fix: task swag (#710)

Co-authored-by: Quoing <pavel.cadersky@mavenir.com>

* [feat] Adding new currencies

---------

Co-authored-by: quoing <quoing@users.noreply.github.com>
Co-authored-by: Quoing <pavel.cadersky@mavenir.com>
Co-authored-by: Bradley <41597815+userbradley@users.noreply.github.com>
@hay-kot hay-kot merged commit c4b9238 into main Jan 18, 2024
3 checks passed
hay-kot added a commit that referenced this pull request Jan 28, 2024
* basic currency service for loading at runtime

* api endpoint for currencies

* sort slice before return

* remove currency validation

* validate using currency service

* implement selecting dynamic currency options

* bump go version

* fix type definition

* specify explicit type

* change go versions

* proper types for assetId

* log/return currency error

* make case insensative

* use ToUpper instead

* feat: adding new currencies (#715)

* fix: task swag (#710)

Co-authored-by: Quoing <pavel.cadersky@mavenir.com>

* [feat] Adding new currencies

---------

Co-authored-by: quoing <quoing@users.noreply.github.com>
Co-authored-by: Quoing <pavel.cadersky@mavenir.com>
Co-authored-by: Bradley <41597815+userbradley@users.noreply.github.com>

* remove ts file and consoldate new values into json

* move flag to options namespace

* add env config for currencies

* basic documentaion

* remove in sync test

---------

Co-authored-by: quoing <quoing@users.noreply.github.com>
Co-authored-by: Quoing <pavel.cadersky@mavenir.com>
Co-authored-by: Bradley <41597815+userbradley@users.noreply.github.com>
Former-commit-id: c4b9238
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant