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

Translator #112

Merged
merged 9 commits into from
Feb 16, 2024
Merged

Translator #112

merged 9 commits into from
Feb 16, 2024

Conversation

samteb
Copy link
Contributor

@samteb samteb commented Feb 15, 2024

No description provided.

Copy link
Collaborator

@wcalderipe wcalderipe left a comment

Choose a reason for hiding this comment

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

Can we avoid version these two big JSON files? Please, pass them as argument to your script.

What you have is a script and a script is just another interface to your module like HTTP or persistence. I've been organizing these at <module>/script/<name>.script.ts

https://github.com/narval-xyz/narval/blob/feature%2Fforward-create-user-request/apps/orchestration/src/price/script/generate-coin-gecko-asset-id-index.script.ts

@@ -0,0 +1,357 @@
import { EntityType, FiatCurrency, ValueOperators } from '@narval/authz-shared'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe specify what translation you're doing? What do you think of translator.ts -> translate-legacy-policy.script.ts?

@samteb samteb merged commit 97c84bb into main Feb 16, 2024
2 checks passed
@samteb samteb deleted the translator branch February 16, 2024 10:52
mattschoch pushed a commit that referenced this pull request Jun 19, 2024
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