Project

General

Profile

Actions

Bug #23380

closed

Rudderc silently accept unknown parameter constraints

Added by Félix DALLIDET about 1 year ago. Updated about 1 year ago.

Status:
Released
Priority:
N/A
Category:
rudderc
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

The following technique is valid for the current rudderc:

---
id: min
name: NTP
version: "0.1" 
params:
  - id: d76ce2e5-d5b6-45cc-87e8-c11cca71d907
    name: param1
    default: bob
    constraints:
      does_not_exist: patapouf
items:
  - id: d86ce2e5-d5b6-45cc-87e8-c11cca71d907
    method: package_present
    params:
      name: "htop" 
      version: "2.3.4" 

We should prohibit the user to define unknown constraints.

Actions

Also available in: Atom PDF