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
encoding/openapi: drop support for Config.ReferenceFunc
It has been deprecated in favor of Config.NameFunc
since https://cuelang.org/cl/542287 in August 2022.
Since it has been two years with the deprecation notice,
and switching from ReferenceFunc to NameFunc with feature parity
is possible, and we want to transition away from cue.Instance,
remove the option and tests entirely.
Note that the tests using ReferenceFunc already have variants
without the deprecated option. We can simplify the tests a bit too
to only use the cue.Value entrypoint now, which gives us equal coverage.
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: Ic90024efd7bb771077e1bd6e5862f76de133437e
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201768
TryBot-Result: CUEcueckoo <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
Reviewed-by: Roger Peppe <[email protected]>
0 commit comments