Closed samuel-torres-code2 closed 10 months ago
It looks like the issue here is that https://github.com/Netflix/dgs-framework/blob/master/graphql-dgs/src/main/kotlin/com/netflix/graphql/dgs/federation/DefaultDgsFederationResolver.kt#L81 doesn't keep track of the index it is on and create a new DataFetchingEnvironment
with the ExecutionStepInfo
updated
This was fixed in #1605.
When throwing a DGSNotFoundError in a JavaSpringBoot DGS application, the full path is not returned when thrown in the DgsEntityFetcher for a given type. The type should return an array of elements. I am able to return a string message with information about the failed element of the list, but the path does not reflect that.
Expected behavior
Note the extra variables on path. I don't know the full extend of path data which should be returned, but I need more than just the '_entities'.
Actual behavior
Steps to reproduce
Create the following entities:
In the DgsEntityFetcher for the SPIN_Cluster, return a DGSNotFoundException.
I am using JavaSpringBoot (JDK 17.0.3).