Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Required parameters aren't mandatory #200

Open
joschi opened this issue Jul 19, 2017 · 0 comments
Open

Required parameters aren't mandatory #200

joschi opened this issue Jul 19, 2017 · 0 comments

Comments

@joschi
Copy link
Contributor

joschi commented Jul 19, 2017

Problem description

Developers have the possibility to mark certain parameters for a pipeline functions as "required". Unfortunately, that doesn't have any effect on the functions and the pipeline parser simply ignores missing "required" parameters (and is using null for their value).

Steps to reproduce the problem

See https://community.graylog.org/t/another-try-at-pipeline-rules/1762

when
  true
then
  set_field("foobar"); // <- this should fail
end

Environment

  • Pipeline Processor plugin version: 2.3.0-rc.2 and earlier
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants