apollographql / apollographql/fullstack-tutorial

Types mismatch: ApolloClient

Open
#104 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.2k
Forks
808
PR merge metrics
No merged PRs in 30d

Description

I set isInCart is Boolean and I try to return some value is string type in this function. It work. I think should be show some error because type mismatch

![image](https://user-images.githubusercontent.com/20473767/67133809-c2b14a80-f238-11e9-8aad-fc5032f80600.png)

![image](https://user-images.githubusercontent.com/20473767/67133829-df4d8280-f238-11e9-85c3-ed44838a127e.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the ApolloClient usage and isInCart definition in the tutorial app, using the screenshots as the starting clue. Reproduce the reported Boolean/string mismatch and find the relevant type-check command or test; done should make the intended type behavior explicit and verifiable.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, react, typescript
Domain
api, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.