Home

cuesonnet @main - refs - log -
-
https://git.jolheiser.com/cuesonnet.git
CUE + Jsonnet
tree log patch
avoid collisions better Signed-off-by: jolheiser <git@jolheiser.com>
Signature
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQKC5XjV4EUigqZdpJ5vm6ZmTrYmsRPgJc9DEzPaD7XE/0fiyVMIbZnerZX6enmTVuj 7NNlmwK2EuuzT5ZSXJPQw= -----END SSH SIGNATURE-----
jolheiser <git@jolheiser.com>
4 days ago
1 changed files, 2 additions(+), 2 deletions(-)
cuesonnet.go
M cuesonnet.gocuesonnet.go
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
diff --git a/cuesonnet.go b/cuesonnet.go
index deeaf890c7a8d44c3e1ad381be95ab0d496a795f..6637940925d7b6c00ca817ccdc84cad5e045eee6 100644
--- a/cuesonnet.go
+++ b/cuesonnet.go
@@ -30,10 +30,10 @@ 		return fmt.Errorf("could not evaluate jsonnet: %w", err)
 	}
 
 	schema := ctx.CompileString(fmt.Sprintf(`
-			#Schema: {
+			#_Schema: {
 				%s
 			}
-			data: #Schema
+			data: #_Schema
 		`, sc))
 	if schema.Err() != nil {
 		return fmt.Errorf("invalid schema: %w", schema.Err())