Arguments for the same field with an alias are being cached / ignored #2101
Labels
kind/bug
Something isn't working
stage/0-issue-prerequisites
Needs more information before we can start working on it
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
minimal reproduction available on
Stackblitz.
@envelop/*
packages that you are using.Describe the bug
When using a field more than once in a query, the second usage ignores the args passed.
This issue started happening on
@envelop/core@4.0.3
. It doesn't happen for previous versions.To Reproduce Steps to reproduce the behavior:
In the example below, both "currentBalance" and "previousBalance" will receive the same arguments when processing the request.
Expected behavior
Each usage of the field should take in consideration the arguments passed.
Environment:
@envelop/*
versions:@envelop/core
:4.0.3
The text was updated successfully, but these errors were encountered: