The metadata drivers with delegates inconsistently check for null responses, either the check is made after an assert() or it's not made at all. So this PR ensures we have these null checks and early returns before asserting the metadata object is a specific subclass.
Split off from #1494
The metadata drivers with delegates inconsistently check for null responses, either the check is made after an
assert()
or it's not made at all. So this PR ensures we have these null checks and early returns before asserting the metadata object is a specific subclass.