Skip to content

When generating batch mn* mutations does not properly handle type in separate schema from table #19

Description

@jmartin127

Example:

  • Table is named: testing, and is in schema one (one.testing)
  • Column is on this same table named: status (one.testing.status) and has a type of status_type, in schema two (two.status_type)
{
  "errors": [
    {
      "message": "type \"one.status_type\" does not exist",
      "path": [
        "mnUpdateTestingById"
      ]
    }
  ],
  "data": {
    "mnUpdateTestingById": null
  }
}

The issue seems to be that it is looking for the type (two.status_type) in the same schema as the table, which isn't always the case.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions