Project

General

Profile

Actions

Task #6941

closed
JI JI

lua: review and document lua rule return types

Task #6941: lua: review and document lua rule return types

Added by Jason Ish about 2 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

The documentation, and S-V test cover Lua rules returning 0 and 1. However, it looks like the code has support to handle a return value of key/value pairs, or at least the intention to do so but its not actually happening.

Perhaps it might be best to just allow 0 and 1, and consider any other return value/type an error?

VJ Updated by Victor Julien about 1 year ago Actions #1

  • Target version changed from 8.0.0-beta1 to 8.0.0-rc1

JI Updated by Jason Ish 10 months ago Actions #2

  • Target version changed from 8.0.0-rc1 to 8.0.0

Not going to make rc1. I don't think any of these are documented, so maybe we can still clean it up for final release. As our promise to users was the documented functions/features would have a replacement.

JI Updated by Jason Ish 10 months ago Actions #3

  • Assignee changed from OISF Dev to Jason Ish

JI Updated by Jason Ish 10 months ago Actions #4

  • Status changed from New to In Review

JI Updated by Jason Ish 10 months ago Actions #5

  • Status changed from In Review to Closed
Actions

Also available in: PDF Atom