Tony Worm

Results 325 comments of Tony Worm

Ah, I missed that lexicographical part in their spec. You could do this with CUE, though it would require some extra stuff. By default, CUE is intentionally order ignorant. You...

FYI, started: https://github.com/cue-lang/cue/discussions/1285 (CUE and Canonical JSON)

Is this somewhat up to the application developer? I haven't personally had issue with error reporting when using the `cue.Filename("foo.cue")` BuildOption https://pkg.go.dev/cuelang.org/[email protected]/cue#Filename It's easy to print the full CUE value...

This is an example of embed with panic: https://github.com/hofstadter-io/hof/blob/_dev/flow/tasks/api/embed.go and I could print the full schema (or partial file contents) here: https://github.com/hofstadter-io/hof/blob/_dev/flow/tasks/api/call.go#L34 One thing to note is that several of...

The filename in the user's message looks like `@embed:flow/tasks/api/schema.cue` from https://github.com/hofstadter-io/hof/blob/_dev/flow/tasks/api/embed.go#L21 Is this problem similar to getting the schema from an API? This would require details only known to the...

I would expect that evaluating a file and the directory containing that file to have the same behavior. In the example, the behavior is different. In both cases, `cue` is...

Enabling user defined builtins would be akin to adding new keywords to the language. CUE has an import notion for importing other CUE. Adding a builtin requires making changes to...

This could be contentious, but Jira is another option, seems like GitHub is trending in that direction, and there wouldn't be a need to migrate the code host. They have...

@myitcv I've updated the description with the reproducer I forgot to add

@newbeelearn are you using absolute or relative paths in those vars? Does it look like one of these issues? - https://github.com/cue-lang/cue/issues/1908 - https://github.com/cue-lang/cue/issues/1899 If you could make a complete reproducer...