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

Resolves External Argument Default Mismatch specification doesnt account for all arguments #102

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

Conversation

PascalSenn
Copy link
Contributor

Resolves #78

Co-authored-by: Daniel Reynolds <[email protected]>
Comment on lines +348 to +349
- The default value of {externalArgument} must be equal to all
{defaultValues}.
Copy link
Contributor

Choose a reason for hiding this comment

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

Assume defaults:

Schema A: 1
Schema B: 2
Schema C: 3 (external)

Wouldn't this compare:

3 with 1
3 with 2
3 with 3 (redundant)

i.e. External defaults shouldn't be included in defaultValues?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

does this change the outcome of the rule?

I more or less try to word the rules as simple as possible.

The actualy implementation of the rule would be completely different anyway i believe.

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.

External Argument Default Mismatch specification doesn't account for all arguments
3 participants