Open negz opened 1 year ago
I think its a good idea if we eventually move to support other cue commands but I am uncertain when or how much use could be out of supporting something like cue def
or cue eval
. I feel like eval could be useful for schema validation if/when this project gets that far.
What problem are you facing?
Looking at the function a little more, I wonder if this would make sense:
The idea being that the "input" to the CUE function is the export configuration. It seems like the primary field folks are working with is
export
. This would matchfunction-patch-and-transform
where you mostly work with theresources
input field, and the kind of the input isResources
in thept.fn.crossplane.io
API group.This is really just a minor optimization so I could be convinced it's not worth the breaking change.