Skip to content

CommandRuntimeException: Could not resolve type SomeCommand #1293

Answered by phil-scott-78
sandrock asked this question in Q&A
Discussion options

You must be logged in to vote

Multiple public constructors aren't supported. You'd either want to set up proper DI for the app, a single constructor that has defaults or maybe mark the one for testing as internal.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nils-a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants