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 in tutorial: Uncaught TypeError: Cannot read properties of undefined (reading 'reduceRight') #34

Open
fan-droide opened this issue Apr 17, 2023 · 1 comment

Comments

@fan-droide
Copy link

fan-droide commented Apr 17, 2023

Sorry, not sure if the bug is related to Platformatic Tutorial or @urql/core but I had to report both, I hope it helps:

urql-graphql/urql#3152

At this point of the steps:
https://oss.platformatic.dev/docs/getting-started/movie-quotes-app-tutorial/#integrate-the-urql-graphql-client

I think it's related to version 4.0.4 of @urql/core and the following code:

import { createClient } from '@urql/core';

const graphqlClient = createClient({
  url: import.meta.env.PUBLIC_GRAPHQL_API_ENDPOINT,
  requestPolicy: "network-only"
});
@fan-droide
Copy link
Author

@fan-droide fan-droide changed the title Bug in tutorial Bug in tutorial: Uncaught TypeError: Cannot read properties of undefined (reading 'reduceRight') Apr 17, 2023
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

No branches or pull requests

1 participant