-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
@defer
gives TypeError: Cannot read properties of undefined (reading 'length')
#12245
Comments
Hey @VinceBT-BG 👋 Apollo Client is only compatible with the |
It looks like it fixed my issue, thanks |
@VinceBT-BG are you looking to track it from the GraphQL spec itself or Apollo's implementation of it? I'll give you both links anyways 😆
We're hoping the format is settled sometime soon so that we can update the client to support the newer format from the spec, but we've held off so that we aren't introducing too much churn in the client. I believe alpha.2 is the most popular format in the ecosystem right now, but here's to hoping we are able to move forward sometime soon 🤞 |
Hi @jerelmiller, have you had a chance to review the latest incremental delivery response format? I think it would be a big help in moving the proposal forward if we have buy in from the major GraphQL clients. Would you or any other maintainers of apollo-client be willing to review and let us know that the current proposal works for you? |
@robrichard I was reading through it this morning, though I'm going to spend some more time with it (apologies, I haven't followed the spec changes super closely up until now). Barring any significant feedback, does it look like this might be the final or close to final version? We have a team meeting this week to discuss |
@jerelmiller I can't guarantee this will be the final version until the spec edits are accepted, but there haven't been any proposed changes to the response format since the June 2023 version. I'm working now on getting the spec edits reviewed, but getting buy in from the wider graphql ecosystem will help give us confidence to move forward. |
@robrichard ok thats great to hear! Thanks for chiming in. I'll try and provide an update if I have one after our meeting this morning. |
Ok an update from our end: We took a look at this as a team and will eventually set some time aside, but it will take a bit of time. We do plan to bake in a defer sprint eventually, but we need to tackle some existing defer issues to get a proper vetting of the new format. We'd also like to bring some internal teams with us which make take a bit of time. We will do our best to get to this as soon as we can but bear with us in the mean time! |
This is an example of query:
And this is the stacktrace of the error that I get:
I have been following the tutorial from here
These are the versions that I use:
The text was updated successfully, but these errors were encountered: