From ce6381b0824ad138ed98bb4862bdf68268432836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Egelund-M=C3=BCller?= Date: Mon, 23 Dec 2024 18:10:36 +0100 Subject: [PATCH] Add the deprecated field `rill_version` to `rill.yaml` validation (#6329) * Add the deprecated field `rill_version` to `rill.yaml` validation * Relax the type --- runtime/compilers/rillv1/parse_rillyaml.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime/compilers/rillv1/parse_rillyaml.go b/runtime/compilers/rillv1/parse_rillyaml.go index bdcaf4a3549..08c8b6d0bf0 100644 --- a/runtime/compilers/rillv1/parse_rillyaml.go +++ b/runtime/compilers/rillv1/parse_rillyaml.go @@ -42,7 +42,10 @@ type VariableDef struct { // rillYAML is the raw YAML structure of rill.yaml type rillYAML struct { + // Compiler is the parser version to use. It is not consumed here because at this point a parser has already been chosen. Compiler string `yaml:"compiler"` + // RillVersion is deprecated and not used anymore. + RillVersion any `yaml:"rill_version"` // Title of the project DisplayName string `yaml:"display_name"` // Title of the project