Skip to content

fix: resolve GraphQL invalid return type errors on landing page#25

Open
fbaravalle-arit wants to merge 1 commit into
Axelera:masterfrom
fbaravalle-arit:fix/issue-24-graphql-return-type
Open

fix: resolve GraphQL invalid return type errors on landing page#25
fbaravalle-arit wants to merge 1 commit into
Axelera:masterfrom
fbaravalle-arit:fix/issue-24-graphql-return-type

Conversation

@fbaravalle-arit

Copy link
Copy Markdown
  • 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 #24: "Error! [GraphQL] invalid return type from function" on home page

🤖 Generated with Claude Code

- 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 fbaravalle-arit left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review the types modified at apps/sumilan-app/src/app/models/activist-request.model.ts and graphql.config.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug landing page

1 participant