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

feat(caching): separate package #209

Merged
merged 43 commits into from
Mar 17, 2023

Conversation

petermasking
Copy link
Member

Fixes #155

Changes proposed in this pull request:

  • Output to the Jitar model directly (removed translation model)
  • Per segment / module caching (instead of the whole application)

@MaskingTechnology/jitar

@petermasking petermasking linked an issue Mar 15, 2023 that may be closed by this pull request
{
MODULE_PATTERN: '**/*.js',
SEGMENT_PATTERN: '**/*.segment.json',
NODE_SEGMENT_PATTERN: '**/*.node.segment.js',
Copy link
Member

Choose a reason for hiding this comment

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

The pattern doesn't match the pattern created in the function below.

}
catch (error: unknown)
{
throw new SegmentFileNotLoaded(filename);
Copy link
Member

Choose a reason for hiding this comment

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

Should we do something with the actual error to make it clear what went wrong before throwing a customized error?

@basmasking basmasking merged commit b1dd13d into main Mar 17, 2023
@basmasking basmasking deleted the 155-split-off-caching-from-the-runtime branch March 17, 2023 23:07
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.

Split off caching from the runtime
2 participants