Skip to content

Conversation

@gmac
Copy link
Owner

@gmac gmac commented Apr 22, 2025

Restores AlwaysVisible, which provides some schema performance benefits. This feature was previously removed for compatibility with GraphQL Ruby v2.5.3, which switched AlwaysVisible to use the new Visibility system.

This update makes supergraphs generally more compatible with Visibility:

  • Composer generates a sealed schema with all supergraph directives.
  • All schema changes and traversals happen before installing visibility.
  • Supergraph is now always derived from schema directives, eliminating compose/rehydrate discrepancies.
  • Tests avoid destructive changes to base GraphQL resources.

This further positions the stitching library to incorporate Visibility profiles for managing audience distributions.

@gmac gmac force-pushed the gmac/always_visibility_compat branch 3 times, most recently from eb64ddd to 36ae6d1 Compare April 23, 2025 12:27
@gmac gmac force-pushed the gmac/always_visibility_compat branch from 93a6477 to e46d7de Compare April 26, 2025 00:09
@gmac gmac marked this pull request as ready for review April 26, 2025 00:12
@gmac gmac merged commit 9186c2f into main Apr 26, 2025
7 checks passed
@gmac gmac deleted the gmac/always_visibility_compat branch April 26, 2025 00:18
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