Skip to content

Commit

Permalink
Add the deprecated field rill_version to rill.yaml validation (#6329
Browse files Browse the repository at this point in the history
)

* Add the deprecated field `rill_version` to `rill.yaml` validation

* Relax the type
  • Loading branch information
begelundmuller authored and k-anshul committed Dec 23, 2024
1 parent 3459524 commit ce6381b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/compilers/rillv1/parse_rillyaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

2 comments on commit ce6381b

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://ui.rilldata.com as production
🚀 Deployed on https://676a3ab16c5eeb3b6380cd03--rill-ui.netlify.app

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.