Skip to content

Mesh prefixes variable names #5097

Open
@Warxcell

Description

@Warxcell

Issue workflow progress

Progress of the issue based on the
Contributor Workflow

Make sure to fork this template and run yarn generate in the terminal.

Please make sure Mesh package versions under package.json matches yours.

  • 2. A failing test has been provided
  • 3. A local solution has been provided
  • 4. A pull request is pending review

Describe the bug

image

graphql-mesh prefixes some of variables with _v1_ which makes it confusing, the client ends-up in non-sense error: "the variables which doesn't exists have wrong value.

To Reproduce Steps to reproduce the behavior:

Tried to reproduce it on sandbox, but couldn't
Expected behavior

Variables to stay as they are.

Environment:

  • OS: linuux
    "@graphql-mesh/graphql@^0.33": version "0.33.8"
  • NodeJS: v19.4.0

Additional context

I was trying to find where this prefix comes from without any success.

Leaving single source fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions