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] Entities Response for Apollo Federation is out of order #8120

Closed
JLaferri opened this issue Jan 11, 2022 · 1 comment
Closed

[Bug] Entities Response for Apollo Federation is out of order #8120

JLaferri opened this issue Jan 11, 2022 · 1 comment
Labels
area/graphql Issues related to GraphQL support on Dgraph. community Issue or PR created by the community. kind/bug Something is broken. Stale

Comments

@JLaferri
Copy link

Unfortunately I don't know the minimal amount of data required to trigger this behavior but basically the data returned in _entities is not in the same order as the objects in my representations input. This causes the data to mismatch with the ID when using Dgraph as a subgraph.

Here is an example:
image

It does look like the logic attempts to order the entities correctly as per here: https://github.com/dgraph-io/dgraph/blob/master/graphql/resolve/resolver.go#L407

Seems for some reason this fails for me. I suppose I will tag @minhaj-shakeel as it seems this was written by them.

Additionally, I will try to get a local dev environment set up for Dgraph tomorrow to see if I can fix this bug though I have a feeling I may struggle getting that going.

@MichelDiz MichelDiz added the area/graphql Issues related to GraphQL support on Dgraph. label Jan 17, 2022
@rderbier rderbier added the kind/bug Something is broken. label Feb 2, 2023
@MichelDiz MichelDiz added the community Issue or PR created by the community. label Mar 7, 2023
Copy link

github-actions bot commented Aug 1, 2024

This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.

@github-actions github-actions bot added the Stale label Aug 1, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/graphql Issues related to GraphQL support on Dgraph. community Issue or PR created by the community. kind/bug Something is broken. Stale
3 participants