gbif / gbif-web

Apache License 2.0
6 stars 9 forks source link

GraphQL: add option to query datasets and collections with a query input type #650

Closed MortenHofft closed 4 weeks ago

MortenHofft commented 1 month ago

add option to query datasets and collections with a query input type, instead of distinct params. It makes no difference for functionality, but it makes it easier to write queries elsewhere as we do not have to spell out all the options.

so instead of

query DatasetSearch($networkKey: [ID], $publishingCountry: [Country], $keyword: [String], ...)

we can do query DatasetSearch($query: DatasetSearchInput) ...