Comments (2)
Thanks, that clears it up!
from apollo-federation-subgraph-compatibility.
@ddebrunner the @inaccessible
spec you're looking at is for supergraph usage & is enforced at runtime in the supergraph Gateway/Router. The processor
implementing @inaccessible
is the Gateway/Router.
Usage of @inaccessible
in subgraphs hasn't been added to the subgraph spec yet, and it's used in the subgraph as a compose-only directive, that is directly composed/merged into the supergraph schema during composition, and only enforced by a processor in the Gateway. This is typically done for internal routing keys that need be used for cross-subgraph joins but where that internal routing key should not be present in the public API schema that clients see when interacting with a supergraph endpoint.
We'll add the subgraph spec docs for @inaccessible
and make this supergraph vs. subgraph distinction more clear. appreciate you calling this out. 🙏
from the https://github.com/apollographql/apollo-federation-subgraph-compatibility#testing-spec-compliance
@inaccessible (in subgraphs)
Must be seen as a valid schema directive in the subgraph library service sdl. Is verified by checking for its inclusion in the query { _service { sdl } } result. Must also be able to query inaccessible fields from the Products schema.
from apollo-federation-subgraph-compatibility.
Related Issues (20)
- No tests found when using fedtest with pnpm HOT 2
- Caliban `@tag` compatibility tests incomplete
- AWS AppSync compatibility tests are broken HOT 6
- Rename PHP implementation to Skillshare library
- old renovate Dependency Dashboard HOT 1
- As a subgraph library maintainer, how should I test enterprise features?
- As a subgraph library maintainer, how do I test subscriptions?
- As a subgraph library maintainer, how do I test `@authenticated` directive?
- Found Invalid Compatibility Test Results HOT 1
- `--failOnRequired`/`--failOnWarning` interact in surprising way HOT 1
- Dependency Dashboard
- build: allow libs to specify separate build step to speed up compatibility tests
- bug: fix comment workflow for hosted/other solutions
- bug: update all workflows to use their defined/generated schemas instead of using template one
- feat: pretty print generated tables in markdown results
- Support for Federaton 2.5 and 2.6 HOT 1
- update AWS AppSync keys HOT 5
- fix Grafbase integration
- Invalid target 'x86_64-apple-darwin' for 'router' binary, target for router v1.39.1 or later.
- subgraphs are not valid/composable? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo-federation-subgraph-compatibility.