Jian.Li
Jian.Li
Yes, I need this functionality. Actually we expect that `Syntax` with option `ResolveReferences` is Symmetric,the result of `Syntax` can be recompiled to be a cue.Value consistent with the original.
@mpvl Thank you very much for your explanation ,and `SelfContained ` can present my demand better than `Symmetric`. It seems that the `closed` is not feature of structLit in data...
> What seems to make sense for you though, it seems, is to allow for a SelfContained mode that resolves references only references outside of the current value, but does...
@mpvl following your example ``` import "x/y" a: { b: y.S // has the value string c: b d: foo } foo: string ``` I think the case 1 (...
@myitcv thank you and let me explain our scenario. As the example of [#867 ](https://github.com/cue-lang/cue/issues/867#issuecomment-975071952) in our case,the process contains two stages. - Stage 1: Execute the cue template on...
@myitcv Thank you for your example. And in user side, should compile `input.cue` and `template.cue` as follow ``` ctx := cuecontext.New() // compile input.cue and template.cue v := ctx.CompileString(` ...`)...
@myitcv In your example, if user1 and user2 use packages with the same path but different contents, will it cause conflicts? for example as follow ---user1--- ``` // input.cue import...
We use `cuelang` to render kubernetes resources in kubevela. This process is divided into two stages: 1. First, perform user-side rendering, the result is transmitted to the server in `ast.Node`...
1. @mpvl Yes, it is correct that expand `v1.#Deployment` and remove imports on `user 1` side. In other words, process on the server-side should be as follows: ``` resource: {...
> v0.4.1-beta.6 Very Good, It seems to satisfy our usage, next I will try to upgrade the cue version used in our project `KubeVela`. Also very much looking forward to...