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

GraphQL Error on Docs After Dependency Bump #2938

Open
JoblersTune opened this issue Sep 3, 2024 · 0 comments · May be fixed by interledger/astro-graphql-plugin#2
Open

GraphQL Error on Docs After Dependency Bump #2938

JoblersTune opened this issue Sep 3, 2024 · 0 comments · May be fixed by interledger/astro-graphql-plugin#2
Labels
dependencies Pull requests that update a dependency pkg: documentation Changes in the documentation package.

Comments

@JoblersTune
Copy link
Collaborator

JoblersTune commented Sep 3, 2024

While testing dependency bumps, an error was encountered for an issue related to GraphQL on the documentation side. The following error was thrown:

Failed to generate a relative URL to type "Asset"
Cannot read properties of undefined (reading 'startsWith')
  Stack trace:
    at Object.matches (/Users/huijing/Sites/interledger/rafiki/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-graphql-plugin/src/converters/index.ts:71:19)
    at Array.find (<anonymous>)
    at eval (/Users/huijing/Sites/interledger/rafiki/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-graphql-plugin/src/converters/pushArguments.ts:21:29)
    at Module.pushArguments (/Users/huijing/Sites/interledger/rafiki/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-graphql-plugin/src/converters/pushArguments.ts:18:8)
    at eval (/Users/huijing/Sites/interledger/rafiki/node_modules/.pnpm/[email protected][email protected]/node_modules/astro-graphql-plugin/src/converters/index.ts:33:58)

It seems the error is related to our astro-graphql-plugin and potentially the changes introduced in the newer versions of GraphQL. For now, the GraphQL version has been reverted to a stable state.

Temporary Fix: the GraphQL version has been locked to the last known working version to avoid blocking progress.

Next Steps: further investigation with what is happening and how we can resolve this so that we are not stuck and unable to update our dependencies.

See #2791 (comment) for additional context.

@JoblersTune JoblersTune added dependencies Pull requests that update a dependency pkg: documentation Changes in the documentation package. labels Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency pkg: documentation Changes in the documentation package.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant