Skip to content

Commit

Permalink
Fix compose name
Browse files Browse the repository at this point in the history
  • Loading branch information
smyrick committed Nov 16, 2023
1 parent e3da656 commit 6ffd52b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "npm run dev:subgraphs & npm run dev:router",
"dev:subgraphs": "NODE_ENV=dev nodemon index.js",
"dev:router": "rover dev --supergraph-config supergraph-config-dev.yaml --router-config router-config-dev.yaml --log error",
"dev:router": "rover dev --supergraph-config supergraph-config-dev.yaml --router-config router-config-dev.yaml",
"start": "node index.js",
"test": "npm run test:compile && npm run test:compose",
"test:compose": "APOLLO_ELV2_LICENSE=accept rover supergraph compose --config supergraph-config-dev.yaml --output supergraph.graphql",
Expand Down
2 changes: 1 addition & 1 deletion subgraphs/flights/schema.graphql
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
extend schema
@link(url: "https://specs.apollo.dev/federation/v2.5", import:["@key", "@shareable", "@composeDirective"])
@composeDirective(name: "myAPI")
@composeDirective(name: "@myAPI")

directive @myAPI on FIELD_DEFINITION

Expand Down

0 comments on commit 6ffd52b

Please sign in to comment.