feat: cleaner save context handling for graphql (#3282)

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
This commit is contained in:
Andrew Bastin
2023-08-24 19:07:17 +05:30
committed by GitHub
parent a9a4ebf595
commit b08b63dc73
16 changed files with 365 additions and 42 deletions

View File

@@ -304,13 +304,15 @@ export class CollectionsSpotlightSearcherService
if (!req) return
createNewGQLTab(
{
request: req,
isDirty: false,
createNewGQLTab({
saveContext: {
originLocation: "user-collection",
folderPath: folderPath.join("/"),
requestIndex: reqIndex,
},
true
)
request: req,
isDirty: false,
})
}
}
}