Skip to content

Handle columns named node_id #2443

Open
@eddiew

Description

@eddiew

Summary

Adding a column named node_id to any table causes postgraphile to emit an error like this, and prevents schema generation:

Error occurred during watch schema generation: Error: Expected an output type named 'ExecutionStep', but that type was not successfully constructed; typically this is because it ended up with no fields.

I assume that there isn't a way to have it work with columns named node_id, since this is part of global object identification spec.

Steps to reproduce

Create a column named node_id

Expected results

Postgraphile should probably show a more helpful error message.

Actual results

See above

Additional context

N/A

Possible Solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    🌳 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions