Skip to content

CommandInfo: allow shadowed Service parameters #422

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

Merged
merged 1 commit into from
May 11, 2021

Conversation

imagejan
Copy link
Member

When a Command extends another Command, we often have both classes use specific services.
It's better to be able to name these Service parameters consistently, than to avoid shadowing parameters at all costs. So let's exclude all Service parameters from the validity check.

Closes #408.

When a command extends another command, we often have both classes use specific services.
It's better to be able to name these Service parameters consistently, than to avoid shadowing parameters at all costs. So let's exclude all Service parameters from the validity check.
@ctrueden ctrueden merged commit beb6de2 into master May 11, 2021
@ctrueden
Copy link
Member

Great!

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.

Allow shadowing service fields when extending commands
2 participants