If an extension includes a list of data types from another namespace, the cached extension does not specify that list of data types (and so includes all data types).
Checklist
[x] Have you ensured the bug was not already reported ?
[x] Have you included a brief and descriptive title?
[x] Have you included a clear description of the problem you are trying to solve?
[x] Have you included a minimal code snippet that reproduces the issue you are encountering?
Description
See https://github.com/NeurodataWithoutBorders/matnwb/issues/351
If an extension includes a list of data types from another namespace, the cached extension does not specify that list of data types (and so includes all data types).
Checklist