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

First pass at allowing translator to accept translated documents #2063

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

christopherswenson
Copy link
Contributor

Adds a new way of interacting with the Malloy translator:

  • If the translator asks for { urls: ['path'] }, instead of updating with the contents of the file via: { urls: { 'path': 'contents' } }, you can respond with { translations: { 'path': { modelDef: ... } } }. This allows a user of the translator to cache translations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant