Skip to content

Commit

Permalink
Update hive
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela committed Nov 29, 2024
1 parent bff56f6 commit 05a39c8
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 57 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ This repository contains a set of tests to evaluate and compare the compatibilit

| Gateway | Compatibility | Test Cases | Test Suites |
| :-------------------------------------------------------------: | :-----------: | :----------: | :---------: |
| [Hive Gateway](https://the-guild.dev/graphql/hive/docs/gateway) | 100.00% | 🟢 179 | 🟢 41 |
| [Apollo Router](https://www.apollographql.com/) | 97.77% | 🟢 175 ❌ 4 | 🟢 39 ❌ 2 |
| [Apollo Gateway](https://www.apollographql.com/) | 97.21% | 🟢 174 ❌ 5 | 🟢 38 ❌ 3 |
| [Hive Gateway](https://the-guild.dev/graphql/hive/docs/gateway) | 95.53% | 🟢 171 ❌ 8 | 🟢 37 ❌ 4 |
| [Grafbase Gateway](https://grafbase.com) | 77.09% | 🟢 138 ❌ 41 | 🟢 29 ❌ 12 |
| [Cosmo Router](https://wundergraph.com) | 73.18% | 🟢 131 ❌ 48 | 🟢 21 ❌ 20 |
| [Inigo Gateway](https://inigo.io) | 49.16% | 🟢 88 ❌ 91 | 🟢 12 ❌ 29 |
Expand Down
44 changes: 22 additions & 22 deletions REPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

| Gateway | Compatibility | Test Cases | Test Suites |
| :-------------------------------------------------------------: | :-----------: | :----------: | :---------: |
| [Hive Gateway](https://the-guild.dev/graphql/hive/docs/gateway) | 100.00% | 🟢 179 | 🟢 41 |
| [Apollo Router](https://www.apollographql.com/) | 97.77% | 🟢 175 ❌ 4 | 🟢 39 ❌ 2 |
| [Apollo Gateway](https://www.apollographql.com/) | 97.21% | 🟢 174 ❌ 5 | 🟢 38 ❌ 3 |
| [Hive Gateway](https://the-guild.dev/graphql/hive/docs/gateway) | 95.53% | 🟢 171 ❌ 8 | 🟢 37 ❌ 4 |
| [Grafbase Gateway](https://grafbase.com) | 77.09% | 🟢 138 ❌ 41 | 🟢 29 ❌ 12 |
| [Cosmo Router](https://wundergraph.com) | 73.18% | 🟢 131 ❌ 48 | 🟢 21 ❌ 20 |
| [Inigo Gateway](https://inigo.io) | 49.16% | 🟢 88 ❌ 91 | 🟢 12 ❌ 29 |
Expand All @@ -17,12 +17,12 @@ Take a closer look at the results for each gateway.

You can look at the full list of tests [here](./src/test-suites/). Every test id corresponds to a directory in the `src/test-suites` folder.

<a id="apollo-router"></a>
<a id="hive-gateway"></a>

### Apollo Router
### Hive Gateway

- [Repository](https://github.com/apollographql/router)
- [Website](https://www.apollographql.com/)
- [Repository](https://github.com/graphql-hive/gateway)
- [Website](https://the-guild.dev/graphql/hive/docs/gateway)

<details>
<summary>Results</summary>
Expand Down Expand Up @@ -55,7 +55,7 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id
<a href="./src/test-suites/interface-object-with-requires">interface-object-with-requires</a>
<pre>🟢🟢🟢🟢🟢🟢🟢</pre>
<a href="./src/test-suites/keys-mashup">keys-mashup</a>
<pre></pre>
<pre>🟢</pre>
<a href="./src/test-suites/mutations">mutations</a>
<pre>🟢🟢🟢</pre>
<a href="./src/test-suites/mysterious-external">mysterious-external</a>
Expand Down Expand Up @@ -85,7 +85,7 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id
<a href="./src/test-suites/requires-requires">requires-requires</a>
<pre>🟢🟢🟢🟢🟢</pre>
<a href="./src/test-suites/requires-with-argument">requires-with-argument</a>
<pre>🟢🟢❌❌❌</pre>
<pre>🟢🟢🟢🟢🟢</pre>
<a href="./src/test-suites/requires-with-fragments">requires-with-fragments</a>
<pre>🟢🟢🟢🟢🟢🟢</pre>
<a href="./src/test-suites/shared-root">shared-root</a>
Expand All @@ -110,11 +110,11 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id
<pre>🟢🟢🟢🟢🟢🟢🟢🟢</pre>
</details>

<a id="apollo-gateway"></a>
<a id="apollo-router"></a>

### Apollo Gateway
### Apollo Router

- [Repository](https://github.com/apollographql/federation)
- [Repository](https://github.com/apollographql/router)
- [Website](https://www.apollographql.com/)

<details>
Expand Down Expand Up @@ -158,7 +158,7 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id
<a href="./src/test-suites/node">node</a>
<pre>🟢</pre>
<a href="./src/test-suites/non-resolvable-interface-object">non-resolvable-interface-object</a>
<pre>🟢🟢🟢🟢🟢🟢</pre>
<pre>🟢🟢🟢🟢🟢🟢🟢</pre>
<a href="./src/test-suites/null-keys">null-keys</a>
<pre>🟢</pre>
<a href="./src/test-suites/override-type-interface">override-type-interface</a>
Expand Down Expand Up @@ -203,12 +203,12 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id
<pre>🟢🟢🟢🟢🟢🟢🟢🟢</pre>
</details>

<a id="hive-gateway"></a>
<a id="apollo-gateway"></a>

### Hive Gateway
### Apollo Gateway

- [Repository](https://github.com/graphql-hive/gateway)
- [Website](https://the-guild.dev/graphql/hive/docs/gateway)
- [Repository](https://github.com/apollographql/federation)
- [Website](https://www.apollographql.com/)

<details>
<summary>Results</summary>
Expand All @@ -225,23 +225,23 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id
<a href="./src/test-suites/enum-intersection">enum-intersection</a>
<pre>🟢🟢🟢🟢🟢</pre>
<a href="./src/test-suites/fed1-external-extends">fed1-external-extends</a>
<pre>❌🟢❌🟢</pre>
<pre>🟢🟢🟢🟢</pre>
<a href="./src/test-suites/fed1-external-extends-resolvable">fed1-external-extends-resolvable</a>
<pre>🟢</pre>
<a href="./src/test-suites/fed1-external-extension">fed1-external-extension</a>
<pre>❌🟢❌🟢</pre>
<pre>🟢🟢🟢🟢</pre>
<a href="./src/test-suites/fed2-external-extends">fed2-external-extends</a>
<pre>❌🟢❌🟢</pre>
<pre>🟢🟢🟢🟢</pre>
<a href="./src/test-suites/fed2-external-extension">fed2-external-extension</a>
<pre>❌🟢❌🟢</pre>
<pre>🟢🟢🟢🟢</pre>
<a href="./src/test-suites/include-skip">include-skip</a>
<pre>🟢🟢🟢🟢</pre>
<a href="./src/test-suites/input-object-intersection">input-object-intersection</a>
<pre>🟢🟢🟢</pre>
<a href="./src/test-suites/interface-object-with-requires">interface-object-with-requires</a>
<pre>🟢🟢🟢🟢🟢🟢🟢</pre>
<a href="./src/test-suites/keys-mashup">keys-mashup</a>
<pre>🟢</pre>
<pre></pre>
<a href="./src/test-suites/mutations">mutations</a>
<pre>🟢🟢🟢</pre>
<a href="./src/test-suites/mysterious-external">mysterious-external</a>
Expand All @@ -251,7 +251,7 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id
<a href="./src/test-suites/node">node</a>
<pre>🟢</pre>
<a href="./src/test-suites/non-resolvable-interface-object">non-resolvable-interface-object</a>
<pre>🟢🟢🟢🟢🟢🟢🟢</pre>
<pre>🟢🟢🟢🟢🟢🟢</pre>
<a href="./src/test-suites/null-keys">null-keys</a>
<pre>🟢</pre>
<a href="./src/test-suites/override-type-interface">override-type-interface</a>
Expand All @@ -271,7 +271,7 @@ You can look at the full list of tests [here](./src/test-suites/). Every test id
<a href="./src/test-suites/requires-requires">requires-requires</a>
<pre>🟢🟢🟢🟢🟢</pre>
<a href="./src/test-suites/requires-with-argument">requires-with-argument</a>
<pre>🟢🟢🟢🟢🟢</pre>
<pre>🟢🟢❌❌❌</pre>
<a href="./src/test-suites/requires-with-fragments">requires-with-fragments</a>
<pre>🟢🟢🟢🟢🟢🟢</pre>
<a href="./src/test-suites/shared-root">shared-root</a>
Expand Down
2 changes: 1 addition & 1 deletion gateways/hive-gateway/install.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# https://github.com/graphql-hive/gateway/releases
curl -sSL https://graphql-hive.com/install-gateway.sh | sh -s "1.5.3"
curl -sSL https://graphql-hive.com/install-gateway.sh | sh -s "1.5.4"
12 changes: 6 additions & 6 deletions gateways/hive-gateway/results.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ corrupted-supergraph-node-id
enum-intersection
.....
fed1-external-extends
X.X.
....
fed1-external-extends-resolvable
.
fed1-external-extension
X.X.
....
fed2-external-extends
X.X.
....
fed2-external-extension
X.X.
....
include-skip
....
input-object-intersection
Expand Down Expand Up @@ -83,5 +83,5 @@ union-intersection

---
Total: 179
Passed: 171
Failed: 8
Passed: 179
Failed: 0
52 changes: 25 additions & 27 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,28 +232,26 @@ <h2 class="text-gray-500 text-lg md:text-xl">

<tr class="border-b transition-colors hover:bg-gray-100/50">
<td
class="p-4 align-middle font-medium border-l-2 border-yellow-500"
class="p-4 align-middle font-medium border-l-2 border-emerald-500"
>
<a
href="https://www.apollographql.com/"
href="https://the-guild.dev/graphql/hive/docs/gateway"
class="hover:underline"
title="Visit Apollo Router website"
title="Visit Hive Gateway website"
>
Apollo Router
Hive Gateway
</a>
</td>
<td class="p-4 align-middle font-semibold">97.77%</td>
<td class="p-4 align-middle font-semibold">100.00%</td>
<td class="p-4 align-middle">
<span class="text-emerald-700 mr-2">✓ 175</span>
<span class="text-red-700">✗ 4</span>
<span class="text-emerald-700 mr-2">✓ 179</span>
</td>
<td class="p-4 align-middle">
<span class="text-emerald-700 mr-2">✓ 39</span>
<span class="text-red-700">✗ 2</span>
<span class="text-emerald-700 mr-2">✓ 41</span>
</td>
<td class="p-4 align-middle">
<a
href="https://github.com/the-guild-org/federation-compatibility/tree/main/REPORT.md#apollo-router"
href="https://github.com/the-guild-org/federation-compatibility/tree/main/REPORT.md#hive-gateway"
class="text-sky-700 hover:underline"
>View report</a
>
Expand All @@ -267,23 +265,23 @@ <h2 class="text-gray-500 text-lg md:text-xl">
<a
href="https://www.apollographql.com/"
class="hover:underline"
title="Visit Apollo Gateway website"
title="Visit Apollo Router website"
>
Apollo Gateway
Apollo Router
</a>
</td>
<td class="p-4 align-middle font-semibold">97.21%</td>
<td class="p-4 align-middle font-semibold">97.77%</td>
<td class="p-4 align-middle">
<span class="text-emerald-700 mr-2">174</span>
<span class="text-red-700">5</span>
<span class="text-emerald-700 mr-2">175</span>
<span class="text-red-700">4</span>
</td>
<td class="p-4 align-middle">
<span class="text-emerald-700 mr-2">38</span>
<span class="text-red-700">3</span>
<span class="text-emerald-700 mr-2">39</span>
<span class="text-red-700">2</span>
</td>
<td class="p-4 align-middle">
<a
href="https://github.com/the-guild-org/federation-compatibility/tree/main/REPORT.md#apollo-gateway"
href="https://github.com/the-guild-org/federation-compatibility/tree/main/REPORT.md#apollo-router"
class="text-sky-700 hover:underline"
>View report</a
>
Expand All @@ -295,25 +293,25 @@ <h2 class="text-gray-500 text-lg md:text-xl">
class="p-4 align-middle font-medium border-l-2 border-yellow-500"
>
<a
href="https://the-guild.dev/graphql/hive/docs/gateway"
href="https://www.apollographql.com/"
class="hover:underline"
title="Visit Hive Gateway website"
title="Visit Apollo Gateway website"
>
Hive Gateway
Apollo Gateway
</a>
</td>
<td class="p-4 align-middle font-semibold">95.53%</td>
<td class="p-4 align-middle font-semibold">97.21%</td>
<td class="p-4 align-middle">
<span class="text-emerald-700 mr-2">171</span>
<span class="text-red-700">8</span>
<span class="text-emerald-700 mr-2">174</span>
<span class="text-red-700">5</span>
</td>
<td class="p-4 align-middle">
<span class="text-emerald-700 mr-2">37</span>
<span class="text-red-700">4</span>
<span class="text-emerald-700 mr-2">38</span>
<span class="text-red-700">3</span>
</td>
<td class="p-4 align-middle">
<a
href="https://github.com/the-guild-org/federation-compatibility/tree/main/REPORT.md#hive-gateway"
href="https://github.com/the-guild-org/federation-compatibility/tree/main/REPORT.md#apollo-gateway"
class="text-sky-700 hover:underline"
>View report</a
>
Expand Down

0 comments on commit 05a39c8

Please sign in to comment.