Skip to content

https://www.krakend.io/docs/backends/graphql/#post--mutation #1052

@onmomo

Description

@onmomo

Environment info:

  • Krakend CE 2.12.0
  • docker

Describe what are you trying to do:
I was trying to configure the backend/graphq mutation using POST as described here:

The example shows the usage of a path variable /review/{id_show} in the variables section.
This seems contradicting to what is documented here: https://www.krakend.io/docs/backends/graphql/#rest-to-graphql-transformation

"but you cannot have {variables} from the URL"
Image

Additional comments:
I could not get it to inject the path parameters as shown in the example to the mutation request. When hardcoding the path parameter the request worked. Is this supported as documented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions