cue
cue copied to clipboard
cue: some deprecation notices suggest other APIs which are also deprecated
https://github.com/cue-lang/cue/blob/87408d7d0c61bf6ff2711fd202727639aac97290/cue/build.go#L60-L61 https://github.com/cue-lang/cue/blob/87408d7d0c61bf6ff2711fd202727639aac97290/cue/build.go#L104-L106
I'm not quite sure what the issue/question is here?
cue.Runtime is deprecated, and cue.Instance is being phased, and replaced entirely by cue.Value.
The doc comments you have quoted are not, to my knowledge, visible by virtue of being defined against hiddenRuntime.
So it this perhaps just a code-level clean up you're proposing?
The doc comments you have quoted are not, to my knowledge, visible by virtue of being defined against
hiddenRuntime.
Each of the functions are still exported. I was able to see these in vscode via code completion. I found it hard to follow the recursive deprecation. Are you saying that these functions are not visible at pkg.go.dev or in certiain IDEs?