Can I write a transformation to a parametric type?

#1

Can I write a transformation to a target type that is parametric, say Asset?
It seems impossible, any other restrictions on target types?

@garrynigel
@aaileni

0 Likes

#2

Canonical is parametric type and we can write transformations to a Canonical type. So yes if target type is parametric we can write a transformation to it.

0 Likes

#3

@garrynigel
@TimSchultz Let me clarify:
I can do this:
type TransformBackBlazeCanonicalToAsset mixes HardDrive transforms CanonicalBackblaze
and I know that: type CanonicalBackblaze mixes Canonical<CanonicalBackblaze>.

BUT, can I do this:
type TransformBackBlazeCanonicalToAsset mixes HardDrive transforms Canonical

0 Likes