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.

@apollo/client types aren ot available for modern versions of flow?

See original GitHub issue

Hello, 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:open
  • Created 2 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jedwards1211commented, Apr 14, 2021

I patched some of those files in my production project, maybe eventually I can get around to making a PR 😅

0reactions
jedwards1211commented, Apr 14, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

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