Skip to content

[Bug]: Query Variables aren't wired up to Event Handlers #1915

@ScottKemp

Description

@ScottKemp

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

If I define variables for a query, then call a query with variables using JS:

Like:

query.run({variabel1: {value: 123}, {variabel2: {value: 123}}

The variables are available for the body of the query, but not in the event handlers.

Expected Behavior

I would expect to have access to the variables from withing the event handlers, so that I can chain queries, passing the variables from one to the next.

Steps to reproduce

See attached App

Query Variables Broken in Event Handlers.json

Environment

Self Hosted 2.7.3

Additional Information

No response

Metadata

Metadata

Labels

Javascript FrontendPull requests that update Javascript codeNeeds triageNeeds to be reviewed by core team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions