You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment variables can also be used when binding to object lists. To bind to a List, the element number should be surrounded with underscores in the variable name.
For example, the configuration property my.service[0].other would use an environment variable named MY_SERVICE_0_OTHER.
That being said, I think that is a less well known feature than Spring's basic env var mapping, so Hoplite could reasonably use a different approach.
I am trying to load an arrayof strings from the environemnt. I cannot however figure out the correct syntax for it.
For example:
with
When I supply the environment variable:
It passes the entire string with the square brackets into the first position of the list.
Does Hoplite support some syntax for passing arrays?
The text was updated successfully, but these errors were encountered: