Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass object to inflate/deflate functions #46

Open
Ambrevar opened this issue Feb 15, 2019 · 2 comments
Open

Pass object to inflate/deflate functions #46

Ambrevar opened this issue Feb 15, 2019 · 2 comments
Assignees

Comments

@Ambrevar
Copy link

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.

@fukamachi
Copy link
Owner

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.

@vaartis
Copy link

vaartis commented Feb 26, 2019

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

@fukamachi fukamachi self-assigned this Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants