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

[Feat]: Query fails when depending on input #983

Open
1 task done
renekahr opened this issue Jun 24, 2024 · 1 comment
Open
1 task done

[Feat]: Query fails when depending on input #983

renekahr opened this issue Jun 24, 2024 · 1 comment
Assignees
Labels
Javascript Frontend Pull requests that update Javascript code

Comments

@renekahr
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When you run a query which is depending on an input, the query fails if the input is empty.

Expected Behavior

The query shouldn't even run, if the input is empty.

Steps to reproduce

  • add an input field
  • create a query which is depending on that input
  • run it without providing an input

Environment

No response

Additional Information

No response

@FalkWolsky
Copy link
Contributor

We disagree about Bug. However we understand naturally your described case.
As queries could get triggered also after a validation - and validation could be bound to that specific field - it is not a bug.
But surely it is a further optimization to test if a query reference a field - and if so, how to handle empty fields.

Remember, in terms of a filter for example, an empty field may be wishful - as it would indicate "all records".

@FalkWolsky FalkWolsky added Javascript Frontend Pull requests that update Javascript code labels Jun 24, 2024
@FalkWolsky FalkWolsky changed the title [Bug]: Query fails when depending on input [FEAT]: Query fails when depending on input Jun 24, 2024
@FalkWolsky FalkWolsky changed the title [FEAT]: Query fails when depending on input [Feat]: Query fails when depending on input Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Javascript Frontend Pull requests that update Javascript code
Projects
Status: 🆕 New
Development

No branches or pull requests

3 participants