hasura / hasura/graphql-engine

Adding remote schema fails when no tables exist

Open
#4,227 3 comments 0 reactions 0 assignees View on GitHub
c/server support/needs-more-info
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

Just started a fresh project and tried to immediately add a remote schema. Didn't work. Adding a table fixed it

Contributor guide

Open the contributing guide

Research direction

Reproduce the report in a fresh project by trying to add a remote schema before creating any tables, then repeat after adding a table to confirm the difference. Trace the remote-schema setup entry point and add a regression test showing that setup succeeds without tables; done means the original workflow works without the workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.