question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Flow definitions for apollo-client?

See original GitHub issue

Sorry if I’m not following the template but it’s not a bug report.

I’m trying to figure out where are the apollo-client Flow type definitions exposed in the npm package, I could find index.js.flow for other Apollo packages, but I can’t find it for apollo-client.

Is it not yet supported or I’m looking in the wrong place?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

38reactions
FezVrastacommented, May 3, 2018

Honestly it sucks that apollo-client is the only package that doesn’t ship with Flow types, it’s the home of most of the most complex types and it would be so useful to have them available.

It would be good enough to just export the most commonly used types if supporting the whole library is too complex 🤷‍♂️

12reactions
vovacodescommented, May 1, 2018

Could you please elaborate on the maintainers’ position regarding the flow types for apollo-client and react-apollo. In case I would like to contribute them, what should be the solution: keep the flow typings in the apollo-client or in the flow-typed repo?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apollo Link overview - Apollo GraphQL Docs
The Apollo Link library helps you customize the flow of data between Apollo Client and your GraphQL server. You can define your client's...
Read more >
Advanced HTTP networking - Apollo GraphQL Docs
When using Apollo Link, you define network behavior as a collection of link objects that execute in sequence to control the flow of...
Read more >
Local resolvers - Apollo GraphQL Docs
Local data query flow. When a query containing @client directives is executed, Apollo Client runs through a few sequential steps to try to...
Read more >
Managing local state - Apollo GraphQL Docs
Apollo Client enables you to manage local state alongside remotely fetched state, meaning you can interact with all of your application's state with...
Read more >
A stronger (typed) React Apollo - Apollo GraphQL Blog
Flow typings landed in version 1.4 of Apollo Client and were recently greatly improved. So make sure you have the latest version of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found