Skip to content

Rename the DimensionNames type to DimensionNamesLike.#3800

Merged
d-v-b merged 1 commit intozarr-developers:mainfrom
d-v-b:chore/dimensionnameslike
Mar 20, 2026
Merged

Rename the DimensionNames type to DimensionNamesLike.#3800
d-v-b merged 1 commit intozarr-developers:mainfrom
d-v-b:chore/dimensionnameslike

Conversation

@d-v-b
Copy link
Contributor

@d-v-b d-v-b commented Mar 20, 2026

The reason for this change is the fact that the DimensionNames type is does not model the
actual type of the dimension_names attribute on the Array V3 Metadata class, but rather a
wider input type that is ultimately narrowed to that actual type. For this reason, it should
use the same XLike name convention as the other wide input types that get narrowed to a more
restricted type.

The reason for this change is the fact that the `DimensionNames` type is does not model the
actual type of the `dimension_names` attribute on the Array V3 Metadata class, but rather a
wider input type that is ultimately narrowed to that actual type. For this reason, it should
use the same `XLike` name convention as the other wide input types that get narrowed to a more
restricted type.
@d-v-b d-v-b requested a review from maxrjones March 20, 2026 20:07
@d-v-b d-v-b enabled auto-merge (squash) March 20, 2026 20:17
@d-v-b d-v-b merged commit 420f11c into zarr-developers:main Mar 20, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants