Skip to content

GraphQL: pass paths through all file diff resolver paths

Warren Gifford requested to merge cc/fix-file-diff-args into main

Created by: camdencheek

When I implemented filtering fileDiffs to certain paths, I missed that the compute function was called from each of the different resolver methods and that paths would need to be propagated through each of these. This meant things like the rawDiff node would not return results that respected the passed-in paths.

Test plan

Tested manually that GraphQL queries that use rawDiff now show raw diffs filtered to the provided paths.

Merge request reports

Loading