EnvBinder.Bind
throws the following error: Invalid cast from 'System.String' to 'System.Enum'
#117
Labels
bug
Something isn't working
Given the following code:
And the .env file:
The following exception is thrown when running the application:
Convert.ChangeType
does not support conversion to enums and that is why this error occurs.The text was updated successfully, but these errors were encountered: