EntityRelationPaths
This type allows type-safe access to entity relations using strings with dot notation. It works to 2 levels deep.
Example
In the above example, the type T1 will be a string union of all relations of the
Product entity:
'featuredAsset''variants''variants.options''variants.featuredAsset'- etc.
Was this chapter helpful?