Skip to content

"Unable to update/select parent row." Doesn't Provide Enough Information #65

@machineghost

Description

@machineghost

The error:

Unable to update/select parent row.

(from line 484 of https://github.com/mlipscombe/postgraphile-plugin-nested-mutations/blob/940c6ec412c7d4dcc1e69e5bb0e0be528fe538f1/src/PostgraphileNestedMutationsPlugin.js) doesn't explain what "parent" it's talking about.

It would be helpful if the error could instead say something more like:

Unable to update/select a row from table_b, the parent of table_a.

I would be happy to submit a PR for this if desired (I don't know Postgraphile or Postgraphile plug-in code at all, but this seems like it should be straightforward enough that I don't need to).

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