Skip to content

Cannot convert object to primitive value #2911

Closed
@paales

Description

@paales

Describe the bug
Cannot convert object to primitive value while using an open API endpoint.

To Reproduce
Steps to reproduce the behavior:

  1. https://codesandbox.io/s/elastic-black-hhokf?file=/.meshrc.yaml
  2. Run the following query
query Search {
  searchCollection(collectionName: "collection", searchParameters: {q: "bla"}) {
    tookMs
  }
}
  1. You get the following error
{
  "errors": [
    {
      "message": "Cannot convert object to primitive value",

Expected behavior

  • For the request to go through, or
  • GraphQL Mesh not to start because there is an error in the schema.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions