Open gregorscholz opened 1 month ago
You can specify lists in csv by adding numbers to the key:
instructions.beginner.0,First Step
instructions.beginner.1,Second Step
Thank you for the quick response, but this can not be used in combination with enums. I get the following error:
Unhandled exception:
The leaf "instructions(context=Level).beginner.1" cannot be added because there are missing indices.
This is my csv entry
instructions(context=Level).beginner.1,first step,first step
Ok i guess this problem occured because i started with 1, my bad...
But still i get an error.
Unhandled exception:
type 'ListNode' is not a subtype of type 'StringTextNode' in type cast
when this is the complete csv
key,de,en
instructions(context=Level).beginner.0,first step, first step
instructions(context=Level).beginner.1,sec step, sec step
Motivation I want to use lists from a csv in combination with a custom enum.
E.g: I have multiple sets of instruction with a different number of steps. In code i want to access it like this: