apollographql / apollographql/fullstack-tutorial

Client launch with error : no exported member 'loginVariables'

Open
#190 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

fullstack-tutorial-master/final/client/src/pages/__generated__/login"' has no exported member 'loginVariables'. TS2694

12 |
13 | interface LoginFormProps {
> 14 | login: (a: { variables: LoginTypes.loginVariables }) => void;
| ^
15 | }
16 |
17 | interface LoginFormState {

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting client/src/pages/__generated__/login and the LoginFormProps interface shown in the error to compare the generated exports with the referenced loginVariables type. Confirm the client can launch without TS2694 once the mismatch is resolved.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.