Skip to content

Add FixedValueResolver#4

Open
Pierstoval wants to merge 2 commits intochalasr:console-arg-resolver-v2from
Pierstoval:console-arg-resolver-v2
Open

Add FixedValueResolver#4
Pierstoval wants to merge 2 commits intochalasr:console-arg-resolver-v2from
Pierstoval:console-arg-resolver-v2

Conversation

@Pierstoval
Copy link
Copy Markdown

@Pierstoval Pierstoval commented Jan 3, 2026

Just a little addition that is useful for standalone usage and when DI is external to the console :)

For the record, I tested this on a small pet project there: https://github.com/Pierstoval/Confman/pull/1

It allows adding more types with just a single line of code.

Types must be deliberately the same, and not "instanceof" or things like that, and the resolver must be added at the end just in case .

@Pierstoval Pierstoval requested a review from chalasr as a code owner January 3, 2026 23:13
@Pierstoval Pierstoval force-pushed the console-arg-resolver-v2 branch from 4e18e9e to 0f5359e Compare January 3, 2026 23:14
@chalasr chalasr force-pushed the console-arg-resolver-v2 branch 4 times, most recently from 1c3742e to 7008e30 Compare January 5, 2026 17:31
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