Hi team.
I am setting up my first project and learning the ins and outs. So far I have found solutions to all my challenges. But I don't like the solution I found for this problem. I am inserting an array of events into a table. I can't seem to find a "list" field type so I can set the input rules to list[event]. Instead I am using an json object and processing it manually. This works fine but I would prefer to have the type checking done for me as part of the input checks.
What I am doing now ...
Inputs: json("events")
{
"events": [
{
... event 1 ....
},
{
... event 2 ...
}
]
}
What I would prefer to be doing ...
Inputs: list[event]
[
{
... event 1 ....
},
{
... event 2 ...
}
]
Can any one suggest how to do this?