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
There are some use-cases (e.g. translations for enum types) where I need to access a dynamic key in runtime. I wonder if this can be achieved with the library without written mapping code in the client? At the moment I am using a workaround where I put the translations as map in a row, and do a runtime check and apply the items, e.g.
Hi,
There are some use-cases (e.g. translations for enum types) where I need to access a dynamic key in runtime. I wonder if this can be achieved with the library without written mapping code in the client? At the moment I am using a workaround where I put the translations as map in a row, and do a runtime check and apply the items, e.g.
key: | en
enum.fruits | {"apple": "Apple", "banana": "Banana", "default": ""...}
But it is not very scalable compared to define "apple", "banana" as separate rows.
The text was updated successfully, but these errors were encountered: