Leonardo Borges
12/10/2021, 11:32 AMapplication.yaml which is set like maxRetries: ${MAX_RETRIES:3} where MAX_RETRIES is set as an env var.
I'm using Spring to map the properties using @ConfigurationProperties. This particular variable is UByte and since it is kotlin, Spring can't map it.
Any clues how to convert it properly?Leonardo Borges
12/10/2021, 2:53 PMUByteJacob
12/10/2021, 3:16 PMIf you need custom type conversion, you can provide abean (with a bean namedConversionService) or custom property editors (through aconversionServicebean) or customCustomEditorConfigurer(with bean definitions annotated asConverters).@ConfigurationPropertiesBinding