kamilkisiela / apollo-angular

A fully-featured, production ready caching GraphQL client for Angular and every GraphQL server 🎁
https://apollo-angular.com
MIT License
1.5k stars 310 forks source link

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

Open Naikno opened 10 months ago

Naikno commented 10 months ago

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

PowerKiKi commented 10 months ago

Indeed, it's not ideal. A PR that always use the latest version of packages would be most welcome.