constant
and constantString
could be in ConfigDescriptors
#454
Labels
enhancement
New feature or request
constant
and constantString
could be in ConfigDescriptors
#454
This came up in a discussion of vigoo/zio-aws#144 and I wanted to move this topic here.
I believe the
DerivationUtils.constant
andDerivationUtils.constantString
would be useful outside the derivation implementation too, so it could be moved toConfigDescriptors
where the other config descriptor constructors are.More generally I think the derivation should be just an optional convenience tool and everything it does should be possible to do by the users by hand. Here this is somewhat true because the above mentioned descriptor can be implemented in user code but its not that straightforward as it needs a custom property type.
The text was updated successfully, but these errors were encountered: