Creating a dataconnector for retrieving document list, the only way I found is to define an array is to use a declaration field as any:
...
{
name: "customAttributes",
type: ScalarFieldTypeEnum.ANY,
},
{
name: "customTags",
type: ScalarFieldTypeEnum.ANY,
},
which IMHO is not good I would like to use things like
{
name: "customAttributes",
type: :]ScalarFieldTypeEnum.STRING,
},
{
name: "customTags",
type: :]ScalarFieldTypeEnum.STRING,
},
Any suggestions?
Best regards.