apollographql / apollographql/apollo-tooling

Warnings during service:push in Node v14.8.0 with the CLI

Open
#2,100 1 comment 0 reactions 0 assignees View on GitHub
:hammer: cli
Dominant language
TypeScript
Stars
3k
Forks
460
PR merge metrics
No merged PRs in 30d

Description

**Intended outcome:**

I was pushing the schema using `service:push` to apollo studio using `npx apollo service:push --graph=tc-graph --key=service:tokenhere --variant=current --serviceName=svc-name --serviceURL=http://localhost:port/ --localSchemaFile=./path/to/GQLFile.gql` and it was supposed to work without any warnings.

**Actual outcome:**

Screenshot 2020-08-29 145601

It throws varning like this.

**How to reproduce the issue:**

I guess this has been happening with other packages as well since Node 14.x (ref: https://github.com/nodejs/node/issues/32987) and this is the PR related to it: https://github.com/nodejs/node/pull/29935

**Versions**

`apollo/2.30.3 linux-x64 node-v14.8.0`

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the `service:push` command from the issue with Apollo CLI 2.30.3 under Node v14.8.0, then inspect the warning shown during the push. Done means the command completes without the reported warning, or the warning's compatibility impact is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, node.js, typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.