You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team, @pozil@msrivastav13@adityanaag3@sat
LWC - Graphql Query issue
I've a scenario that parent component passing the record id to child component with @api parentId variable. The Graphql @wire executing before the parentId assigned which is used in query filters, I wanted to control the graphql to fire once the parentId is assiged and pass it to the graphql filters.
This issue is presented after Winter'25, earlier it was wroking fine. I'm not sure what was the problem.
Requesting your valuable inputs for this issue.
Salesforce Org Type
Sandbox
Steps To Reproduce
Create a List of Accounts component, select one Account and pass it to the child component that displays the list of Opportunites (use Graphql to retrieve Opprotunities by passing the accountid in filter) related to Account where the Stage is Open.
Current Behavior
The Graphql executing before the @api variable assigned from parent component.
Expected Behavior
Have a controll or execute the Graphql query after the @api variable assigned from parent component in LWC
Relevant Log Output
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Summary
Hi Team, @pozil @msrivastav13 @adityanaag3 @sat
LWC - Graphql Query issue
I've a scenario that parent component passing the record id to child component with @api parentId variable. The Graphql @wire executing before the parentId assigned which is used in query filters, I wanted to control the graphql to fire once the parentId is assiged and pass it to the graphql filters.
This issue is presented after Winter'25, earlier it was wroking fine. I'm not sure what was the problem.
Requesting your valuable inputs for this issue.
Salesforce Org Type
Sandbox
Steps To Reproduce
Create a List of Accounts component, select one Account and pass it to the child component that displays the list of Opportunites (use Graphql to retrieve Opprotunities by passing the accountid in filter) related to Account where the Stage is Open.
Current Behavior
The Graphql executing before the @api variable assigned from parent component.
Expected Behavior
Have a controll or execute the Graphql query after the @api variable assigned from parent component in LWC
Relevant Log Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: