mirror of
https://github.com/graphql-hive/console
synced 2026-05-23 09:08:34 +00:00
docs: add stitching project change product update (#3944)
This commit is contained in:
parent
9beed0bfc0
commit
9e9401277f
2 changed files with 35 additions and 2 deletions
|
|
@ -26,9 +26,9 @@ function ProductUpdateTeaser(props: Changelog) {
|
|||
<h3 className="text-lg font-semibold text-gray-900 dark:text-white">
|
||||
<Link href={props.route}>{props.title}</Link>
|
||||
</h3>
|
||||
<p className="mb-4 text-base font-normal text-gray-500 dark:text-gray-400">
|
||||
<div className="mb-4 mt-1 max-w-[600px] text-base font-normal leading-6 text-gray-500 dark:text-gray-400">
|
||||
{props.description}
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,33 @@
|
|||
---
|
||||
title: Upcoming changes to schema composition for Schema Stitching projects
|
||||
description:
|
||||
Due to stitching limitations we need to slightly alter the schema composition behaviour for more
|
||||
predictable results.
|
||||
date: 2024-02-08
|
||||
authors: [laurin]
|
||||
---
|
||||
|
||||
Due to limitations within the stitching implementation powered by
|
||||
[graphql-tools](https://github.com/ardatan/graphql-tools), we are going to slightly alter the
|
||||
behaviour of the schema composition for better predictability of the schema composition result.
|
||||
|
||||
Currently, composition for schema stitching projects can lead to unexpected (seemingly unpredictable
|
||||
schema changes) appearing when publishing a service schema or running a schema check.
|
||||
|
||||
The reason for this is that the composite schema output from the stitching composition
|
||||
implementation is affected by the order of the input (subgraph) schemas. Today, the input
|
||||
schemas/subgraphs for the composition are ordered by their creation date (publish date). This means
|
||||
that each publish/check (unless they are strictly run in the same order), can result in a different
|
||||
output schema.
|
||||
|
||||
Some of you reached out to us because of this confusion and unpredictability.
|
||||
|
||||
Due to these limitations, we decided to make subtle changes to the sorting of the input subgraph
|
||||
schemas in order to make the output composite schema more predictable.
|
||||
|
||||
Starting on **20.04.2024,** the subgraphs will always be sorted alphanumerically by their name to
|
||||
ensure a stable input order across schema publishes and schema checks.
|
||||
|
||||
We also recommend everyone that uses the graphql-tools stitching implementation to sort their
|
||||
schemas alphanumerically by their name in their gateway implementation. The Hive CDN will also serve
|
||||
the service list in that given order.
|
||||
Loading…
Reference in a new issue