Daniel Martí

Results 1533 comments of Daniel Martí

The good news is that yes, the new schemas at https://cue.dev/docs/curated-module-kubernetes/ based on JSON Schema do not suffer this problem. So, where your generated schema has ``` #StatefulSetUpdateStrategy: { //...

Chatting to @rogpeppe, we've agreed that while most users of k8s schemas should use the curated schema directly (i.e. the JSON Schema route), there's no reason why we couldn't teach...

Another quick update - as of the latest master (2c9c7d1f23e582f2f7e053714582e057bc783700), I have merged two series of performance improvements which finally beat evalv2 on this project: ``` │ v0.14.2-evalv2 │ 2c9c7d1f...

We have started enforcing staticcheck via CI, disabling a few types of checks like this one in the spirit of incrementally enforcing more and more of staticcheck. See https://github.com/cue-lang/cue/issues/3335. I...

What shfmt version are you running? Did you double check this? Because we have code and tests for this feature, so this seems odd.

@nord-erik is completely right. Per the EditorConfig spec, the config file must be in the same directory, or a parent directory, relative to the source file.

Thanks for reporting. You say you're on Windows so this appears to be a bug with CRLF line endings, which I can reproduce.

Our thinking in this space is to provide the opposite of `cue get go`, so that you can define your schemas in CUE as the source of truth, and generate...

And I forgot to say - thank you for contributing!

https://github.com/cue-lang/cue/releases/tag/v0.12.0-alpha.2 was just released with the generation of Go types from CUE definitions as `cue exp gengotypes` :) Please let me know how you get on with it. In the...