这是indexloc提供的服务,不要输入任何密码
Skip to content

Unexpected behaviour with REST API with route params and body #8316

@Tchoupinax

Description

@Tchoupinax

Hello,

I met an unexpected behaviour with the REST API.

I want to update a table, given an idea and a property value. I provide all needed information and I get an error:

{"path":"$","error":"expecting a value for non-nullable variable: \"priority\"","code":"validation-failed"}

The network tab in inspector does not show the payload.

However, if i remove the :id param from the url and provide same value the query succeeds, and in the inspector the payload is correctly sent with id and priority.

In others words, I have the impression that when a variable is taken from route variable, variable in the body is not sent.

image

Thank you for all your work :)
Have a nice day!

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