You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed regression: Swift can optional-promote the Root of an embed function (Value) -> Root to (Value) -> Root? and yield CasePath<Root?, Value> instead of `CasePath<Root, Value>. Extraction was still handled successfully in 0.3.0 and earlier, but broke in 0.4.0. Thanks @mayoff for the fix!
Fixed regression: Swift can optional-demote the Value of an embed function (Value?) -> Root to (Value) -> Root and yield CasePath<Root, Value> instead of `CasePath<Root, Value?>. Extraction was still handled successfully in 0.3.0 and earlier, but broke in 0.4.0. Thanks @mayoff for this fix as well!
A family of helpers functions around reflection/runtime extraction has been deprecated, this includes module-level extract functions and CasePath.case. The library now always favors using case path syntax (/Root.caseName) or the CasePath.extract(from:) method.