graphql-hive / graphql-hive/console

tag schema versions

Open
#7,224 0 comments 3 reactions 0 assignees View on GitHub
enhancement needs-customer
Dominant language
TypeScript
Stars
483
Forks
145
Avg merge
2d 5h
Merged PRs (30d)
65

Description

Today we always only serve the latest schema version artifacts from the CDN from the following URL:

```
https://cdn.graphql-hive.com/artifacts/v1//supergraph
https://cdn.graphql-hive.com/artifacts/v1//sdl
https://cdn.graphql-hive.com/artifacts/v1//services
```

We can introduce tagging to give more control over which schema version is served to a specific router/gateway instance

A tag would be applied via the Hive CLI (and/or an API call and/or Dashboard UI).
The state of the tag would then be stored on our end in the database, so we can show which tag is the latest schema version and also quickly retrieve the schema version for a specific tag.

Image

On the CDN side, the artifacts would then be accessible via the a URL similar to this:

```
https://cdn.graphql-hive.com/artifacts/v1//tags//supergraph
https://cdn.graphql-hive.com/artifacts/v1//tags//sdl
https://cdn.graphql-hive.com/artifacts/v1//tags//services
```

Related issues:
- https://github.com/graphql-hive/console/issues/7222

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.