-
-
Notifications
You must be signed in to change notification settings - Fork 266
Parameters passed to lookAheаd are not applied #818
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
Comments
Do you have an example? |
TimelineUnion
TimelineQuery
Query:
An invalid result is returned. It is missing the implementors array
And this result should have returned:
With the help of the group-implementor-fields, I would be able to solve this problem #817. |
I think adding that would be fine, make a PR. I was also working on a fix for SelectFields with union/interfaces where I am using group-implementor-fields. Just need to pick the task up again. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Can't decide: is this really a bug or a missing feature? |
i think we just need to add it to the lookAhead call in Field-class, dont know if it needs to be option or just always there! |
Ok. First off, achtung: the option was renamed in the latest graphql-php release
Second, my question: how we know it's a bug with graphql-laravel? 🤔 We do not instantiate / handle The implementation (in graphql-php; not our library) in AFAICS, graphql-laravel is not involved in this process anywhere and thus failure of the correct structure seems to be outside of our realm, no? @zabavnikov can you please check/debug this? |
Ahh yeah i see when I look again it this does nok look like anything to do with this package |
Oh, nice find 🤞🏼 I'll add it to the milestone then, too; thx for digging around 🙇🏼 |
As far as I understood this issue, the issue wasn't with this library but with graphql-php and we were waiting to update it to 15.x. With the release of 9.0.0 this has now happened, and you should be able to pass the options workingly to it now 🤞🏼 |
Versions:
Description:
I can't figure it out yet, maybe the point is that in the Support / Field in the originalResolver method, lookAhead is called without arguments.
The text was updated successfully, but these errors were encountered: