Open alexander-schranz opened 10 months ago
Hi, this might be related to new symfony/yaml release, as I've tagged new package. Not sure what exactly.
@TomasVotruba I will do some testing with the newer config-transformer and symfony/yaml version I locked the versions as I not accidently wanted to get breaking changes. I will let you know if it disappears on newer version. But you do not remember any changes in the config-transformer itself fixing such problem with the YamlFileLoader
.
If it does not work I maybe thinking about creating "Fake" enums by extract them via regex before transforming would that be something which make sense to contribute back to simplify/config-transformer package? Else I can keep it inside this package.
Tests were passing for config-transformer :+1: but I'm not sure if enums were working even before. I only use it config-transformer on legacy projects, where it's mostly PHP 5.6-7.4 :)
Currently we have the following error:
We are converting without installing here things If I remember correctly but not sure. I don't know yet how we can fix that as the error is in the YamlFileLoader not able to ignore the Enum.
@TomasVotruba do you maybe have an idea?