For a single selection the view response currently look like this:
[$data] // [1]
A multi selection look like this:
$data // [1, 2, 3]
This does make the view parameter not extendable if we maybe add displayOptions or other things to our selection content types.
Proposal
For a single selection I would like something like:
[
'id' => $data,
]
And for the multi selection something like:
[
'ids' => $data,
]
This would then also be consistent to the exist media_selection and single_media_selection which are currently using the proposed format. /cc @wachterjohannes @nnatter what do you think?
For a single selection the
view
response currently look like this:A multi selection look like this:
This does make the view parameter not extendable if we maybe add displayOptions or other things to our selection content types.
Proposal
For a single selection I would like something like:
And for the multi selection something like:
This would then also be consistent to the exist
media_selection
andsingle_media_selection
which are currently using the proposed format. /cc @wachterjohannes @nnatter what do you think?