fix: resolve GraphQL invalid return type errors on landing page#25
Open
fbaravalle-arit wants to merge 1 commit into
Open
fix: resolve GraphQL invalid return type errors on landing page#25fbaravalle-arit wants to merge 1 commit into
fbaravalle-arit wants to merge 1 commit into
Conversation
- Fix scalar type mappings in graphql.config.json (BigInt->string, Datetime->string, etc.) - Update generated GraphQL types to use proper types instead of 'any' - Remove @ts-ignore comments from Home.tsx and fix type assertions - Update EventTime components to handle nullable date fields - Fix activist-request model ID type (number->string) to match GraphQL schema - Update dependencies (caniuse-lite) to resolve build warnings Resolves Axelera#24: "Error\! [GraphQL] invalid return type from function" on home page 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
fbaravalle-arit
commented
Jul 3, 2025
fbaravalle-arit
left a comment
Author
There was a problem hiding this comment.
Please review the types modified at apps/sumilan-app/src/app/models/activist-request.model.ts and graphql.config.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #24: "Error! [GraphQL] invalid return type from function" on home page
🤖 Generated with Claude Code