Closed tfrancart closed 9 months ago
We are exploring how Sparnatural can be an interface to more than one endpoint. See https://github.com/sparna-git/Sparnatural/blob/master/src/sparnatural/components/widgets/data/UrlFetcher.ts#L116 : the query is sent to all andpoints, and results are aggregated on the client-side
So to present the content of a List widget, we would simply group the results of the different endpoint inside optgroup. For this the ListWidget has to support optgroup
optgroup
Still requires documentation
We are exploring how Sparnatural can be an interface to more than one endpoint. See https://github.com/sparna-git/Sparnatural/blob/master/src/sparnatural/components/widgets/data/UrlFetcher.ts#L116 : the query is sent to all andpoints, and results are aggregated on the client-side
So to present the content of a List widget, we would simply group the results of the different endpoint inside
optgroup
. For this the ListWidget has to supportoptgroup