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 309 forks source link

[docs] Simple Apollo Angular Example demo is broken #2087

Closed alessbell closed 1 week ago

alessbell commented 11 months ago

The "Simple Example" in the docs contains a StackBlitz demo which is currently displaying the error "Cannot use import statement outside a module".

Specifying "esModuleInterop": true in the tsconfig compiler options resolves the error, but the API the demo is hitting is down: https://graphql-voter-app.herokuapp.com/ returns a 404.