Skip to content

Added a BannedNamespace IssueKind. #32

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

tushar1032
Copy link
Collaborator

Description:

Added a new IssueKind called BannedNamespace for scenarios where we want to ban the usage of functions under a given namespace.

Copy link

Thanks for the contribution! Unfortunately we can't verify the commit author(s): Tushar Mukherjee <t***@s***.com>. One possible solution is to add that email to your GitHub account. Alternatively you can change your commits to another email and force push the change. After getting your commits associated with your GitHub account, sign the Salesforce Inc. Contributor License Agreement and this Pull Request will be revalidated.

@tushar1032 tushar1032 marked this pull request as ready for review April 22, 2025 17:57
@@ -212,6 +212,22 @@ pub(crate) fn analyze(
);
}

if let Some(banned_message) = function_storage.banned_namespace_message {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Also not sure if this is correct.

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