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

Change matching of name and fullname patterns to exact match by default #145

Merged
merged 1 commit into from
Mar 11, 2022

Conversation

brandhuf
Copy link
Contributor

@brandhuf brandhuf commented Mar 8, 2022

If regex use is not explicitly specified, patterns now only match the name and full name of types, if they are exactly equal. Previously it also matched if the name contained the pattern. One problem with this was for example that the name of a parent namespaces matched to all child namespaces.

… name and full name of types, if they are exactly equal. Previously it also matched if the name contained the pattern.

One problem with this was for example that the name of a parent namespaces matched to all child namespaces.

Signed-off-by: Fritz Brandhuber <fritz.brandhuber@tngtech.com>
@brandhuf
Copy link
Contributor Author

brandhuf commented Mar 8, 2022

To migrate tests which break because of this change, it should be enough to specifically enable regex matching in all problematic cases. Then the tests should behave as they did previously.

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