-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gen: Introduce generic import mapping #85
Conversation
@spinillos this should be quite useful, and is in support of a larger goal scenes folks have for schemas |
We can put all of this logic inside a new |
not sure what this failure with |
glad we're passing, but definitely need some tests on this first. there are weird cases to be checked here depending on whether/how the input is unified, and properties of the root instance being looked up |
This introduces actual support for doing import mapping natively in cuetsy.
It's a little awkward and definitely needs some tests, but the new
cue.Value.Buildinstance()
method introduced in a recent release of CUE makes all the difference here. Knowing that there is hugely helpful.This will end up allowing us to have imports with core kinds - which i'd swear we had an issue for, but i can't find it now.