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

Pass globals to imported jobs #30

Merged
merged 1 commit into from
Sep 26, 2020
Merged

Conversation

mumoshu
Copy link
Owner

@mumoshu mumoshu commented Sep 23, 2020

Imported variant command's globals (top-level parameters and options) are now merged into the command, when it misses parameters and options with the same names.

If any imported global's type conflict with the command's corresponding parameter/option type, it fails early so that the imported command doesn't fail due to unexpected value/type provided.

Resolves #29

@mumoshu mumoshu force-pushed the pass-globals-to-imported-jobs branch from aa44bfc to 94a0ae8 Compare September 23, 2020 15:02
Imported variant command's globals (top-level parameters and options) are now merged into the command, when it misses parameters and options with the same names.

If any imported global's type conflict with the command's corresponding parameter/option type, it fails early so that the imported command doesn't fail due to unexpected value/type provided.

Resolves #29
@mumoshu mumoshu force-pushed the pass-globals-to-imported-jobs branch from 94a0ae8 to 17bb516 Compare September 24, 2020 02:15
@mumoshu mumoshu merged commit 1cbc008 into master Sep 26, 2020
@mumoshu mumoshu deleted the pass-globals-to-imported-jobs branch September 26, 2020 18:29
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.

Feature Request: Automatically Pass Globals to Variant Modules
1 participant