-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I need to convert map[...]Type
to map[...]any
, but it's not possible (I think)
My usecase is that I want to have a generic resource caching function where I can put resource into map[...]any
while operating on a specialized map of resources.
But obviously converting it is impossible without changing the ABI. This is the same thing as with covariant dynamic arrays.
As far as I see the only way to solve this is through generics of some sort.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request