the-guild-org / the-guild-org/apollo-angular

apollo-angular schematics has a fixed version of apollo-angular and @apollo/client packages

Open
#2,133 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug help wanted
Dominant language
TypeScript
Stars
1.5k
Forks
309
Avg merge
1h 45m
Merged PRs (30d)
3

Description

Describe the bug

Into schematics the versions of apollo-angular and @apollo/client packages are fixed :

 'apollo-angular': '^4.2.0',
 '@apollo/client': '^3.0.0',

To Reproduce

Try to

ng add apollo-angular

or simply check on
https://github.com/kamilkisiela/apollo-angular/blob/master/packages/apollo-angular/schematics/install/index.ts

Expected behavior

The user can choose the versions, or the versions are updated to the latest

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with packages/apollo-angular/schematics/install/index.ts and reproduce the behavior with ng add apollo-angular. Check how the apollo-angular and @apollo/client versions are selected there. Done means the schematics no longer force the reported fixed versions and supports the expected version behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, graphql, typescript
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.