Replies: 3 comments
-
Paging @mpvl as I think you're the only person who can answer this :) |
Beta Was this translation helpful? Give feedback.
-
I'm trying to keep things working as much as possible. The There are a few changes, though. The following methods will be removed:
Here are some changes in semantics:
I've ran into cases where CUE files are no longer working for the new evaluator, just because the old evaluator erroneously didn't catch bugs. There is not much I can do about that, of course. Finally: Of course, the old API is not great and doesn't fit the current CUE model anymore. The idea is to keep the old API working, though, and then implement a new API in parallel. The bulk of the old API has now been implemented in terms of separate packages, directly on the new evaluator, that can be used for a new API. |
Beta Was this translation helpful? Give feedback.
-
This discussion has been migrated to cue-lang/cue#443. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Beta Was this translation helpful? Give feedback.
-
I know there is a major change to the Cue evaluator coming, and once it is shipped, all our wildest dreams will come true :) In the meantime, it would be useful to have a rough estimate of which parts of the Go API will be affected by this upcoming change, and which will remain stable.
In particular, will
cue/load
andcue/build
break? And if so, what we should use instead? Even more specifically, I'm wondering if it's safe to write a custom loader, which would produce acue/build.Instance
without relying oncue/load
. Would this work be jeopardized by upcoming API changes?Thanks.
Beta Was this translation helpful? Give feedback.
All reactions