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

Fix missing optional key warnings when AllPatternsMandatory is enabled. #1544

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

Conversation

StarKhan6368
Copy link
Collaborator

What: Fix missing optional key warnings when AllPatternsMandatory is enabled.

Why:

How:

Checklist:

- All Optional params that are missing should be shown.
- isEqualToNormalizingWhitespace instead of containsIgnoringWhitespaces
  when possible, so anything additional is caught.
@StarKhan6368 StarKhan6368 marked this pull request as draft January 16, 2025 13:29
@StarKhan6368 StarKhan6368 force-pushed the mandatory-patterns-fixes branch from 5fdc129 to d66503f Compare January 17, 2025 06:48
Copy link
Member

@joelrosario joelrosario left a comment

Choose a reason for hiding this comment

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

After merging with main, the optional keys are missed once again. Please rebase/merge against main and fix this.

- AnyPattern should not add itself as seen as the discriminator
  mappings can ref back to itself.
@StarKhan6368 StarKhan6368 marked this pull request as ready for review January 20, 2025 08:22
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