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

[Feature] Detect top scope functions that should be namespaced. #196

Open
glennsarti opened this issue Nov 11, 2019 · 0 comments
Open

[Feature] Detect top scope functions that should be namespaced. #196

glennsarti opened this issue Nov 11, 2019 · 0 comments
Labels
enhancement New feature or request language

Comments

@glennsarti
Copy link
Contributor

Note: A module that wants to call a function in another module must either have that module listed as a dependency, or have no dependencies entry at all in its metadata.json. This requirement is enforced at runtime to help users keep metadata for modules up to date as users then simply need to install a module and its dependencies. If a module does not have the correct dependencies listed the runtime will simply not find the function.

Can PES detect topscope function calls which should be namespaced?

Ref - https://twitter.com/BastelsBlog/status/1193595803618725889
Ref - https://github.com/puppetlabs/puppet-specifications/blob/master/language/func-api.md#autoloading

@jpogran jpogran added language enhancement New feature or request labels Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request language
Projects
None yet
Development

No branches or pull requests

2 participants