The behavior you describe could be fully achieved with config today. You
could for example ask commanded to not define impl for Any, because you
will.
My understanding is that the feature requested here is not really about
conditional compilation, because that’s all possible today, but rather
Another situation I encountered maintains a popular Stripe package related
to the "features" thing.
The package doesn't include Jason.Encoder for the built-in objects, which
we could include, but some people may want to opt-in to their encoding for
Jason.
It happened to me, but the opposite