Add additionalTypes option to context for default cache invalidation (#601)
* make proposal for additional invalidation possibilities, this could help solve the empty array problem for document-based caching
* golf implementation
* add type and test for additionalTypenames
* add to core api docs
* add changeset
* make entries for additionalTypenames in basics
* Apply suggestions from code review
Co-Authored-By: Will Golledge <35961363+wgolledge@users.noreply.github.com>
* move the additionalTypenames docs to document-caching
Co-authored-by: Will Golledge <35961363+wgolledge@users.noreply.github.com>
authored by