graphile / graphile/crystal

Handle columns named `node_id`

Open
#2,443 4 comments 0 reactions 0 assignees View on GitHub
ℹ️ diagnostic
Dominant language
TypeScript
Stars
12.9k
Forks
625
Avg merge
5h 23m
Merged PRs (30d)
24

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.