Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report : GraphQLError: Syntax Error: Unexpected <EOF> causes failure in typechecking #2769

Closed
bandhan-majumder opened this issue Dec 17, 2024 · 8 comments
Assignees
Labels
bug Something isn't working test Testing application

Comments

@bandhan-majumder
Copy link

Describe the bug
When a new PR is submitted, due to pre-existing error in graphql syntax, in the first step Check for linting, formatting, and type errors at Run Typescript Type-Checker, the graphql syntax error comes and causes failure in the workflow. We can also reproduce this in our local enviornment with the below steps.

To Reproduce
Steps to reproduce the behavior:

  1. Go to develop branch
  2. Run npm run typecheck

Expected behavior
It should pass

Actual behavior
It's failing

Screenshots
image

Additional details
All the PRs are failing this test.

Potential internship candidates

Please read this if you are planning to apply for a Palisadoes Foundation internship

@bandhan-majumder bandhan-majumder added the bug Something isn't working label Dec 17, 2024
@github-actions github-actions bot added test Testing application unapproved Unapproved for Pull Request labels Dec 17, 2024
Copy link

Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.

@bandhan-majumder bandhan-majumder changed the title [BUG]: GraphQLError: Syntax Error: Unexpected <EOF> causes failure in typechecking Bug Report : GraphQLError: Syntax Error: Unexpected <EOF> causes failure in typechecking Dec 17, 2024
@prayanshchh
Copy link
Contributor

check this out

redwoodjs/redwood#9195
redwoodjs/redwood#9140

@prayanshchh
Copy link
Contributor

assign

@Aad1tya27
Copy link

The problem is in unions.ts, it has an empty gql block. I had included this change in my pr, if it's acceptable then I can link both issues to my pr.

@prayanshchh
Copy link
Contributor

yes that file wasn't needed, removing it solves the issue...I did it in my PR

@bandhan-majumder
Copy link
Author

Waiting for the PR to merge so that other PRs can pass that test.

@akshayw1
Copy link

Pls assign

@Cioppolo14
Copy link
Contributor

@Aad1tya27 I'm assigning this to you as an exception so it can be resolves through your open PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working test Testing application
Projects
Archived in project
Development

No branches or pull requests

6 participants