mito icon indicating copy to clipboard operation
mito copied to clipboard

Pass object to inflate/deflate functions

Open Ambrevar opened this issue 6 years ago • 2 comments

Right now it's not possible to inflate/deflate depending on values from other fields. If the inflate/deflate would get an optional OBJECT parameter, we could access all the fields.

Ambrevar avatar Feb 15 '19 13:02 Ambrevar

I admit that it may be useful in some cases, however, it breaks the backward-compatibility because current inflate/deflate functions only expects a single argument. And I think adding an optional parameter is too much for the (possibly) less opportunity to use it.

Adding a special variable could work, if it's okay for you.

fukamachi avatar Feb 19 '19 04:02 fukamachi

I also would like to have this feature, i tihnk a special variable should be fine too.

vaartis avatar Feb 26 '19 19:02 vaartis