Skip to content

improvement(global-aspect), allow aspects from .bitrc.jsonc to have main.runtime and no static-id #9496

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

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

davidfirst
Copy link
Member

Currently, these global-aspects from .bitrc.jsonc file must have scope.runtime instead of the main.runtime. It causes issues when testing via loadAspect API, which searches for "main.runtime" files.
They also have to have static id prop in their runtime file in addition to the aspect file.

This PR fixes these two issues. Normal aspects can work out of the box with no modifications.

@davidfirst davidfirst merged commit 5c681e3 into master Jan 24, 2025
4 checks passed
@davidfirst davidfirst deleted the global-aspects-main-runtime branch January 24, 2025 01:02
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