Resolves a Lazy shape to its eager form, caching the result on repeated calls.
When given a factory, evaluates it on first call and caches the outcome; subsequent calls
return the cached shape. Resource shapes are flattened during
resolution; other shapes, including a resolved RangeShape, pass through unchanged.
Resolves a Lazy shape to its eager form, caching the result on repeated calls.
When given a factory, evaluates it on first call and caches the outcome; subsequent calls return the cached shape. Resource shapes are flattened during resolution; other shapes, including a resolved RangeShape, pass through unchanged.