Skip to content

Conversation

Gankra
Copy link
Contributor

@Gankra Gankra commented Sep 1, 2023

I'm not sure how the old code was supposed to work but it would just crash trying to upcast something to Any inside clap. This approach still gets the expected validation but doesn't crash.

I'm not sure how the old code was supposed to work but it would
just crash trying to upcast something to Any inside clap. This approach
still gets the expected validation but doesn't crash.
Copy link
Owner

@volks73 volks73 left a comment

Choose a reason for hiding this comment

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

Looks good.

@volks73 volks73 added the bug label Sep 1, 2023
@volks73 volks73 merged commit 5592f22 into volks73:main Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants