Skip to content

Commit 6656e71

Browse files
authored
fix: add cue definitions for embedded types (#134)
This change refactors some embedded types within existing definitions into definitions themselves. This provides a pathway to much better go types being generated by `make cuegen` and solving some of the pain observed in https://github.com/revanite-io/pvtr-github-repo/blob/main/evaluation_plans/reusable_steps/evaluations_test.go#L21 Signed-off-by: Travis Truman <trumant@gmail.com>
1 parent ccfe87e commit 6656e71

File tree

2 files changed

+169
-135
lines changed

2 files changed

+169
-135
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ lintyml:
1818
cuegen:
1919
@echo " > Generating types from cue schema ..."
2020
@cue exp gengotypes schema.cue
21+
@echo " > vet the generated go types ..."
22+
@go vet cue_types_gen.go
2123

2224
PHONY: lintcue lintyml cuegen

0 commit comments

Comments
 (0)