Skip to content

API response being changed unintentionally #41

Description

@ricardoekm

It seems that if an API response field value matches with a chained request parameter, restQL replaces the response value by the chained parameter.

Original call to the API: http://localhost:8000/dataset/customers

Original response:

{
  "filters": [],
  "id": "customers"
}

restQL query:

from app
	with
		id = "myApp"

from dataset
	with 
		id = app.layers.dataset

restQL response

{
  "app": {
    "details": {
      "status": 200,
      "success": true,
      "metadata": {}
    },
    "result": {
        ...
    }
  },
  "dataset": {
    "details": {
      "status": 200,
      "success": true,
      "metadata": {}
    },
    "result": {
      "filters": [],
      "id": "[app layers dataset]",
    }
  }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions