@apollo/client types aren ot available for modern versions of flow?
See original GitHub issueHello, I took a quick look at the repo after getting this error:
!! No flow@v0.123.0-compatible libdefs found in flow-typed for the explicitly requested libdefs. !!
and I saw that the only apollo definitions available are for flow 0.104 or so. Can’t I use the same definitions for my current flow version? What’s the workaround?
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
class ApolloClient - Apollo GraphQL Docs
The ApolloClient class encapsulates Apollo's core client-side API. It backs all available view-layer integrations (React, iOS, and so on).
Read more >Entities in Apollo Federation - Apollo GraphQL Docs
In a federated graph, an entity is an object type that can resolve its fields across multiple subgraphs. Each subgraph can contribute different...
Read more >A stronger (typed) React Apollo - Apollo GraphQL Blog
Apollo has had TypeScript support since its launch, and support for Flow typings just landed in version 1.4. Today I'd love to show...
Read more >Caching in Apollo Client - Apollo GraphQL Docs
The Apollo Client cache is highly configurable. You can customize its behavior for individual types and fields in your schema, and you can...
Read more >TypeScript with Apollo Client - Apollo GraphQL Docs
GraphQL uses a type system to clearly define the available data for each type and field in a GraphQL schema. Given that a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I patched some of those files in my production project, maybe eventually I can get around to making a PR 😅
Oh now I know…OP is probably using Apollo client 4, and no one has flow defs for 4 AFAIK. Unfortunately I can’t contribute to that yet because I’m stuck on Apollo client 3, and there were some pretty big changes in v4.