Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map gql schema in all environments, so the UI/Nitro can use it #1290

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

myieye
Copy link
Contributor

@myieye myieye commented Nov 28, 2024

Nitro falls back to introspection if the schema endpoint fails. That's why we previously had access to the schema in staging and prod even though we weren't mapping a schema endpoint.

With the upgrade to Hot Chocolate 14 schema introspection was disabled by default. So, the fallback stopped working.

There's no reason to hide the schema, so it ought to be mapped in all environments, so Nitro has it.

Copy link

C# Unit Tests

98 tests   98 ✅  5s ⏱️
15 suites   0 💤
 1 files     0 ❌

Results for commit 0a071a9.

@myieye myieye merged commit 94ac2a7 into develop Nov 29, 2024
8 checks passed
@myieye myieye deleted the chore/expose-gql-schema branch November 29, 2024 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants