Files
releases/ast
Johan Fylling 36fdcef93f ast&cmd: Only enforcing schemas annotations if --schema flag is used (#5502)
Fixing an issue where if a `rego.metadata.*` function is called in a rule, any present `schemas` annotation will be used to inform type checking, even if no `--schema` flag was used for the command.
Only commands that takes the `--schema` flag can now use the `schemas` annotation to inform type checking; i.e. `eval` and `check`.

Fixes: 5430
Signed-off-by: Johan Fylling <johan.dev@fylling.se>
2023-01-03 12:16:58 +01:00
..
2022-10-14 10:15:54 +02:00
2019-10-11 10:53:57 -07:00
2022-10-14 10:15:54 +02:00
2022-10-27 17:44:56 +02:00
2019-10-11 10:53:57 -07:00
2022-11-03 10:47:07 +01:00
2019-10-22 10:07:03 -07:00
2022-10-14 10:15:54 +02:00
2022-11-18 11:01:40 +01:00
2022-11-18 11:01:40 +01:00
2022-10-14 10:15:54 +02:00