問題タブ [graphql-shield]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
node.js - graphql-shield を使用した Apollo サーバー フェデレーション
graphql-shieldを保護するために使用していsubgraphます。
私のビルド プロセスでは、Apollo Studiorover CLIの更新に使用しています。supergraph schema
アクセス許可シールドがエラーをスローするため、rover更新は失敗しNot Authorised!ます。
subgraphwithを保護し、操作graphql-shieldを許可するにはどうすればよいSubgraphIntrospectQueryですか?
ローバー イントロスペクト コマンドにベアラー トークンを追加できることを理解しています。
ただし、ビルド プロセス中にアクセス トークンを生成する方法はありません。