apollographql / apollographql/apollo-tooling

Support for flag --json to apollo service:list

Open
#2,213 0 comments 1 reaction 0 assignees View on GitHub
:scroll: component - registry
Dominant language
TypeScript
Stars
3k
Forks
460
PR merge metrics
No merged PRs in 30d

Description

#### Sugestion

Would be awesome if we can pass a flag --json to `apollo service:list` to consume the output or have a programmatic version of `apollo service:list` to create nodejs scripts based on the output of this command.

#### Why

I want to create a variant schema based on another variant, to enable things like app reviews. The idea is to enable into PRs to publish an app review of a specific service and compose this service with the current staging schema.

Contributor guide

Open the contributing guide

Research direction

Start by locating the implementation and output path for the `apollo service:list` CLI command, then run it against a project to understand its current output. Add a `--json` or equivalent programmatic output mode that can be consumed by Node.js scripts, and verify that the resulting service data supports the proposed schema-variant workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.