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

Feature request: please accept_empty_strings #7

Open
joaomcferreira opened this issue Mar 28, 2021 · 0 comments
Open

Feature request: please accept_empty_strings #7

joaomcferreira opened this issue Mar 28, 2021 · 0 comments

Comments

@joaomcferreira
Copy link

Presently, the "request-accounting-schema-function-arg" and "request-accounting-prefix-function-arg" options can be used to ask jsonapi to map those 2 values to their respective SQL function arguments. That is great and useful and I love it. Perfect :)

But... in that scenario jsonapi will reject the request if any of those 2 strings is empty (like ''). This renders that functionality unusable (and that's a big loss in my opinion) for the cases where those string are naturally empty. That is the case for situations where the user did not select any fiscal year or maybe he does not have the CTB module active.

So: it would be great if an SQL function programmer could simply ask jsonapi to "please, accept_empty_strings, I now what I'm doing".

Put simply: "accept_empty_strings"

This would be just great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant