hasura / hasura/graphql-engine

Fast generation of GraphQL schema from migration

Open
#3,972 0 comments 0 reactions 0 assignees View on GitHub
c/creating-schema c/server k/ideas
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

GraphQL schema can be used for static analysis.

To get the schema from migration files, Hasura and postgres should be running, and migration tasks have to be completed, and agent(e.g. user or program) should know when this is done(or try polling).

However, I 'guess' it might be theoretically possible to generate only GraphQL schema from migration files without fully running Hasura. If possible, this would save considerable time.

Of course, depending on purely migration files would not reflect possible affection from metadata call, but I think it's anyway meaningful.

Would it be possible?

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.