Automated test ensuring ResolveDependencies
is implemented for all supported object types
#6026
Labels
release/required
it is required that this be resolved before releasing
Milestone
We should have an automated test that will ensure that all object types
store.CacheStores
keeps have an explicit switch-case defined infallback.ResolveDependencies
function.Proposed solution
Rework
store.CacheStores
and its methods (Get
,Add
,Delete
) to be wholly generated, enforcing a single point of truth for what object kinds it supports. This will allow adding one more "meta" method:SupportedObjectTypes
that we will be able to use in theResolveDependencies
test to ensure we have a switch case for every supported type explicitly defined (if there's no case defined,ResolveDependencies
should return an error).The text was updated successfully, but these errors were encountered: