-
Originally opened by @shykes in cuelang/cue#445 I am trying to implement a custom dependency fetcher. Given a I found a possible solution, but would like to confirm that it is safe and uses the API correctly:
In summary:
Is it safe to do this? Is there a better way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Original reply by @mpvl in cuelang/cue#445 (comment) That should be fine. The better way would be to fix |
Beta Was this translation helpful? Give feedback.
Original reply by @mpvl in cuelang/cue#445 (comment)
That should be fine. The better way would be to fix
cue.Build
so that it doesn't need an in-sync Imports anymore. All of the information is contained inFiles
.