wellcomecollection / content-api

📖 The API + ETL pipeline for searching the Wellcome Collection Prismic Repository.
MIT License
0 stars 0 forks source link

Add addressableQueries #158

Closed davidpmccormick closed 1 week ago

davidpmccormick commented 1 week ago

For #155

What does this change?

Adds each of the queries required for 'All' search individually

How to test

yarn testGraphQuery --type={type} --isAddressable=true (ht @rcantin-w for the script)

How can we measure success?

Gets us closer to 'All' search

Have we considered potential risks?

n/a

rcantin-w commented 1 week ago

Tested it all (although Exhibition Text is too big to fully see 😄 ) and I think the main comments would be about contributor roles, which is really quite small, and what to do with webcomics! Very nice and tidy, nice filtering out of bodies in the guides.

davidpmccormick commented 1 week ago

I think on balance I'd probably not include webcomics because like you say there is so little of queryable relevance, and we're planning to migrate them