@graphitation/supermassive 0.7.2 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintcache +1 -1
- package/CHANGELOG.md +18 -2
- package/lib/benchmarks/index.js +13 -0
- package/lib/benchmarks/index.mjs +19 -1
- package/lib/benchmarks/swapi-schema/__generated__/schema.d.ts +2 -25
- package/lib/benchmarks/swapi-schema/__generated__/schema.d.ts.map +1 -1
- package/lib/benchmarks/swapi-schema/__generated__/schema.js +41 -0
- package/lib/benchmarks/swapi-schema/__generated__/schema.mjs +19 -0
- package/lib/bin/supermassive.js +0 -0
- package/lib/executeWithSchema.d.ts.map +1 -1
- package/lib/executeWithSchema.js +2 -3
- package/lib/executeWithSchema.mjs +2 -3
- package/lib/executeWithoutSchema.d.ts.map +1 -1
- package/lib/executeWithoutSchema.js +4 -1
- package/lib/executeWithoutSchema.mjs +4 -1
- package/lib/extractImplicitTypesToTypescript.d.ts.map +1 -1
- package/lib/extractImplicitTypesToTypescript.js +45 -25
- package/lib/extractImplicitTypesToTypescript.mjs +45 -25
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/subscribeWithSchema.d.ts.map +1 -1
- package/lib/subscribeWithSchema.js +2 -16
- package/lib/subscribeWithSchema.mjs +2 -19
- package/lib/subscribeWithoutSchema.d.ts.map +1 -1
- package/lib/subscribeWithoutSchema.js +5 -1
- package/lib/subscribeWithoutSchema.mjs +5 -1
- package/lib/types.d.ts +14 -3
- package/lib/types.d.ts.map +1 -1
- package/lib/utilities/mergeResolvers.d.ts +2 -2
- package/lib/utilities/mergeResolvers.d.ts.map +1 -1
- package/package.json +5 -4
- package/CHANGELOG.json +0 -365
package/.eslintcache
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"/home/runner/work/graphitation/graphitation/packages/supermassive/src/__tests__/execute.test.ts":"1","/home/runner/work/graphitation/graphitation/packages/supermassive/src/__tests__/extractImplicitTypes.test.ts":"2","/home/runner/work/graphitation/graphitation/packages/supermassive/src/__tests__/subscribe.test.ts":"3","/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/TypedAST.ts":"4","/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/__tests__/addTypesToRequestDocument.test.ts":"5","/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/addTypesToRequestDocument.ts":"6","/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/index.ts":"7","/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/nice-benchmark.ts":"8","/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/index.ts":"9","/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/models.ts":"10","/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/resolvers.ts":"11","/home/runner/work/graphitation/graphitation/packages/supermassive/src/bin/__tests__/typeDefsToImplicitResolvers.test.ts":"12","/home/runner/work/graphitation/graphitation/packages/supermassive/src/bin/supermassive.ts":"13","/home/runner/work/graphitation/graphitation/packages/supermassive/src/collectFields.ts":"14","/home/runner/work/graphitation/graphitation/packages/supermassive/src/compiledQuery.ts":"15","/home/runner/work/graphitation/graphitation/packages/supermassive/src/definition.ts":"16","/home/runner/work/graphitation/graphitation/packages/supermassive/src/directives.ts":"17","/home/runner/work/graphitation/graphitation/packages/supermassive/src/executeWithSchema.ts":"18","/home/runner/work/graphitation/graphitation/packages/supermassive/src/executeWithoutSchema.ts":"19","/home/runner/work/graphitation/graphitation/packages/supermassive/src/extractImplicitTypesRuntime.ts":"20","/home/runner/work/graphitation/graphitation/packages/supermassive/src/extractImplicitTypesToTypescript.ts":"21","/home/runner/work/graphitation/graphitation/packages/supermassive/src/index.ts":"22","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/Maybe.ts":"23","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/ObjMap.ts":"24","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/Path.ts":"25","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/PromiseOrValue.ts":"26","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/devAssert.ts":"27","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/didYouMean.ts":"28","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/identityFunc.ts":"29","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/inspect.ts":"30","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/instanceOf.ts":"31","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/invariant.ts":"32","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isAsyncIterable.ts":"33","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isIterableObject.ts":"34","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isObjectLike.ts":"35","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isPromise.ts":"36","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/keyMap.ts":"37","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/keyValMap.ts":"38","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/mapValue.ts":"39","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/memoize3.ts":"40","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/naturalCompare.ts":"41","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/printPathArray.ts":"42","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/promiseForObject.ts":"43","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/promiseReduce.ts":"44","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/suggestionList.ts":"45","/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/toObjMap.ts":"46","/home/runner/work/graphitation/graphitation/packages/supermassive/src/subscribeWithSchema.ts":"47","/home/runner/work/graphitation/graphitation/packages/supermassive/src/subscribeWithoutSchema.ts":"48","/home/runner/work/graphitation/graphitation/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts":"49","/home/runner/work/graphitation/graphitation/packages/supermassive/src/transforms/transformerTestUtils.ts":"50","/home/runner/work/graphitation/graphitation/packages/supermassive/src/types.ts":"51","/home/runner/work/graphitation/graphitation/packages/supermassive/src/utilities/mapAsyncIterator.ts":"52","/home/runner/work/graphitation/graphitation/packages/supermassive/src/utilities/mergeResolvers.ts":"53","/home/runner/work/graphitation/graphitation/packages/supermassive/src/utilities/typeNameFromAST.ts":"54","/home/runner/work/graphitation/graphitation/packages/supermassive/src/values.ts":"55"},{"size":6135,"mtime":1644225077956,"results":"56","hashOfConfig":"57"},{"size":3872,"mtime":1644225077956,"results":"58","hashOfConfig":"57"},{"size":7030,"mtime":1644225077956,"results":"59","hashOfConfig":"57"},{"size":14345,"mtime":1644225077956,"results":"60","hashOfConfig":"57"},{"size":5297,"mtime":1644225077956,"results":"61","hashOfConfig":"57"},{"size":2189,"mtime":1644225077956,"results":"62","hashOfConfig":"57"},{"size":3146,"mtime":1644225077956,"results":"63","hashOfConfig":"57"},{"size":712,"mtime":1644225077956,"results":"64","hashOfConfig":"57"},{"size":382,"mtime":1644225077956,"results":"65","hashOfConfig":"57"},{"size":128,"mtime":1644225077956,"results":"66","hashOfConfig":"57"},{"size":10233,"mtime":1644225077956,"results":"67","hashOfConfig":"57"},{"size":848,"mtime":1644225077960,"results":"68","hashOfConfig":"57"},{"size":1654,"mtime":1644225077960,"results":"69","hashOfConfig":"57"},{"size":5387,"mtime":1644225077960,"results":"70","hashOfConfig":"57"},{"size":3431,"mtime":1644225077960,"results":"71","hashOfConfig":"57"},{"size":1649,"mtime":1644225077960,"results":"72","hashOfConfig":"57"},{"size":6589,"mtime":1644225077960,"results":"73","hashOfConfig":"57"},{"size":1372,"mtime":1644225077960,"results":"74","hashOfConfig":"57"},{"size":28058,"mtime":1644225077960,"results":"75","hashOfConfig":"57"},{"size":4918,"mtime":1644225077960,"results":"76","hashOfConfig":"57"},{"size":11995,"mtime":1644225077960,"results":"77","hashOfConfig":"57"},{"size":1595,"mtime":1644225077960,"results":"78","hashOfConfig":"57"},{"size":134,"mtime":1644225077960,"results":"79","hashOfConfig":"57"},{"size":277,"mtime":1644225077960,"results":"80","hashOfConfig":"57"},{"size":711,"mtime":1644225077960,"results":"81","hashOfConfig":"57"},{"size":48,"mtime":1644225077960,"results":"82","hashOfConfig":"57"},{"size":269,"mtime":1644225077960,"results":"83","hashOfConfig":"57"},{"size":1038,"mtime":1644225077960,"results":"84","hashOfConfig":"57"},{"size":108,"mtime":1644225077960,"results":"85","hashOfConfig":"57"},{"size":2797,"mtime":1644225077960,"results":"86","hashOfConfig":"57"},{"size":2294,"mtime":1644225077960,"results":"87","hashOfConfig":"57"},{"size":357,"mtime":1644225077960,"results":"88","hashOfConfig":"57"},{"size":325,"mtime":1644225077960,"results":"89","hashOfConfig":"57"},{"size":778,"mtime":1644225077960,"results":"90","hashOfConfig":"57"},{"size":278,"mtime":1644225077960,"results":"91","hashOfConfig":"57"},{"size":227,"mtime":1644225077960,"results":"92","hashOfConfig":"57"},{"size":921,"mtime":1644225077960,"results":"93","hashOfConfig":"57"},{"size":764,"mtime":1644225077960,"results":"94","hashOfConfig":"57"},{"size":441,"mtime":1644225077960,"results":"95","hashOfConfig":"57"},{"size":821,"mtime":1644225077960,"results":"96","hashOfConfig":"57"},{"size":1314,"mtime":1644225077960,"results":"97","hashOfConfig":"57"},{"size":253,"mtime":1644225077960,"results":"98","hashOfConfig":"57"},{"size":650,"mtime":1644225077960,"results":"99","hashOfConfig":"57"},{"size":803,"mtime":1644225077960,"results":"100","hashOfConfig":"57"},{"size":3938,"mtime":1644225077960,"results":"101","hashOfConfig":"57"},{"size":503,"mtime":1644225077960,"results":"102","hashOfConfig":"57"},{"size":1364,"mtime":1644225077960,"results":"103","hashOfConfig":"57"},{"size":8936,"mtime":1644225077960,"results":"104","hashOfConfig":"57"},{"size":495,"mtime":1644225077960,"results":"105","hashOfConfig":"57"},{"size":6652,"mtime":1644225077960,"results":"106","hashOfConfig":"57"},{"size":3878,"mtime":1644225077960,"results":"107","hashOfConfig":"57"},{"size":1815,"mtime":1644225077960,"results":"108","hashOfConfig":"57"},{"size":766,"mtime":1644225077960,"results":"109","hashOfConfig":"57"},{"size":308,"mtime":1644225077960,"results":"110","hashOfConfig":"57"},{"size":9318,"mtime":1644225077960,"results":"111","hashOfConfig":"57"},{"filePath":"112","messages":"113","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"f884pq",{"filePath":"114","messages":"115","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"116","messages":"117","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"118","messages":"119","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"120","messages":"121","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"122","messages":"123","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"124","messages":"125","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"126","messages":"127","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"128","messages":"129","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"130","messages":"131","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"132","messages":"133","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"134","messages":"135","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"136","messages":"137","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"138","messages":"139","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"140","messages":"141","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"142","messages":"143","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"144","messages":"145","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"146","messages":"147","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"148","messages":"149","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"150","messages":"151","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"152","messages":"153","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"154","messages":"155","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"156","messages":"157","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"158","messages":"159","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"160","messages":"161","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"162","messages":"163","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"164","messages":"165","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"166","messages":"167","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"168","messages":"169","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"170","messages":"171","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"172","messages":"173","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"174","messages":"175","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"176","messages":"177","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"178","messages":"179","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"180","messages":"181","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"182","messages":"183","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"184","messages":"185","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"186","messages":"187","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"188","messages":"189","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"190","messages":"191","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"192","messages":"193","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"194","messages":"195","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"196","messages":"197","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"198","messages":"199","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"200","messages":"201","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"202","messages":"203","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"204","messages":"205","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"206","messages":"207","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"208","messages":"209","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"210","messages":"211","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"212","messages":"213","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"214","messages":"215","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"216","messages":"217","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"218","messages":"219","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"220","messages":"221","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/home/runner/work/graphitation/graphitation/packages/supermassive/src/__tests__/execute.test.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/__tests__/extractImplicitTypes.test.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/__tests__/subscribe.test.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/TypedAST.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/__tests__/addTypesToRequestDocument.test.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/ast/addTypesToRequestDocument.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/index.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/nice-benchmark.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/index.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/models.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/benchmarks/swapi-schema/resolvers.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/bin/__tests__/typeDefsToImplicitResolvers.test.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/bin/supermassive.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/collectFields.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/compiledQuery.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/definition.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/directives.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/executeWithSchema.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/executeWithoutSchema.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/extractImplicitTypesRuntime.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/extractImplicitTypesToTypescript.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/index.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/Maybe.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/ObjMap.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/Path.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/PromiseOrValue.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/devAssert.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/didYouMean.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/identityFunc.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/inspect.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/instanceOf.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/invariant.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isAsyncIterable.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isIterableObject.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isObjectLike.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/isPromise.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/keyMap.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/keyValMap.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/mapValue.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/memoize3.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/naturalCompare.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/printPathArray.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/promiseForObject.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/promiseReduce.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/suggestionList.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/jsutils/toObjMap.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/subscribeWithSchema.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/subscribeWithoutSchema.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/transforms/transformerTestUtils.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/types.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/utilities/mapAsyncIterator.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/utilities/mergeResolvers.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/utilities/typeNameFromAST.ts",[],"/home/runner/work/graphitation/graphitation/packages/supermassive/src/values.ts",[]]
|
|
1
|
+
[{"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/execute.test.ts":"1","/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/extractImplicitTypes.test.ts":"2","/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/subscribe.test.ts":"3","/mnt/vss/_work/1/s/packages/supermassive/src/ast/TypedAST.ts":"4","/mnt/vss/_work/1/s/packages/supermassive/src/ast/__tests__/addTypesToRequestDocument.test.ts":"5","/mnt/vss/_work/1/s/packages/supermassive/src/ast/addTypesToRequestDocument.ts":"6","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/index.ts":"7","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/nice-benchmark.ts":"8","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/index.ts":"9","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/models.ts":"10","/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/resolvers.ts":"11","/mnt/vss/_work/1/s/packages/supermassive/src/bin/__tests__/typeDefsToImplicitResolvers.test.ts":"12","/mnt/vss/_work/1/s/packages/supermassive/src/bin/supermassive.ts":"13","/mnt/vss/_work/1/s/packages/supermassive/src/collectFields.ts":"14","/mnt/vss/_work/1/s/packages/supermassive/src/compiledQuery.ts":"15","/mnt/vss/_work/1/s/packages/supermassive/src/definition.ts":"16","/mnt/vss/_work/1/s/packages/supermassive/src/directives.ts":"17","/mnt/vss/_work/1/s/packages/supermassive/src/executeWithSchema.ts":"18","/mnt/vss/_work/1/s/packages/supermassive/src/executeWithoutSchema.ts":"19","/mnt/vss/_work/1/s/packages/supermassive/src/extractImplicitTypesRuntime.ts":"20","/mnt/vss/_work/1/s/packages/supermassive/src/extractImplicitTypesToTypescript.ts":"21","/mnt/vss/_work/1/s/packages/supermassive/src/index.ts":"22","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Maybe.ts":"23","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/ObjMap.ts":"24","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Path.ts":"25","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/PromiseOrValue.ts":"26","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/devAssert.ts":"27","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/didYouMean.ts":"28","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/identityFunc.ts":"29","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/inspect.ts":"30","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/instanceOf.ts":"31","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/invariant.ts":"32","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isAsyncIterable.ts":"33","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isIterableObject.ts":"34","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isObjectLike.ts":"35","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isPromise.ts":"36","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyMap.ts":"37","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyValMap.ts":"38","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/mapValue.ts":"39","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/memoize3.ts":"40","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/naturalCompare.ts":"41","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/printPathArray.ts":"42","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseForObject.ts":"43","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseReduce.ts":"44","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/suggestionList.ts":"45","/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/toObjMap.ts":"46","/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithSchema.ts":"47","/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithoutSchema.ts":"48","/mnt/vss/_work/1/s/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts":"49","/mnt/vss/_work/1/s/packages/supermassive/src/transforms/transformerTestUtils.ts":"50","/mnt/vss/_work/1/s/packages/supermassive/src/types.ts":"51","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mapAsyncIterator.ts":"52","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mergeResolvers.ts":"53","/mnt/vss/_work/1/s/packages/supermassive/src/utilities/typeNameFromAST.ts":"54","/mnt/vss/_work/1/s/packages/supermassive/src/values.ts":"55"},{"size":6041,"mtime":1648828571291,"results":"56","hashOfConfig":"57"},{"size":1592,"mtime":1648828571291,"results":"58","hashOfConfig":"57"},{"size":6845,"mtime":1648828571291,"results":"59","hashOfConfig":"57"},{"size":14345,"mtime":1648828571291,"results":"60","hashOfConfig":"57"},{"size":5297,"mtime":1648828571291,"results":"61","hashOfConfig":"57"},{"size":2189,"mtime":1648828571291,"results":"62","hashOfConfig":"57"},{"size":3662,"mtime":1648828571291,"results":"63","hashOfConfig":"57"},{"size":712,"mtime":1648828571291,"results":"64","hashOfConfig":"57"},{"size":382,"mtime":1648828571291,"results":"65","hashOfConfig":"57"},{"size":128,"mtime":1648828571291,"results":"66","hashOfConfig":"57"},{"size":10233,"mtime":1648828571291,"results":"67","hashOfConfig":"57"},{"size":848,"mtime":1648828571295,"results":"68","hashOfConfig":"57"},{"size":1655,"mtime":1648828571295,"results":"69","hashOfConfig":"57"},{"size":5387,"mtime":1648828571295,"results":"70","hashOfConfig":"57"},{"size":3431,"mtime":1648828571295,"results":"71","hashOfConfig":"57"},{"size":1649,"mtime":1648828571295,"results":"72","hashOfConfig":"57"},{"size":6589,"mtime":1648828571295,"results":"73","hashOfConfig":"57"},{"size":1230,"mtime":1648828571295,"results":"74","hashOfConfig":"57"},{"size":28220,"mtime":1648828571295,"results":"75","hashOfConfig":"57"},{"size":4918,"mtime":1648828571295,"results":"76","hashOfConfig":"57"},{"size":14787,"mtime":1648828571295,"results":"77","hashOfConfig":"57"},{"size":1735,"mtime":1648828571295,"results":"78","hashOfConfig":"57"},{"size":134,"mtime":1648828571295,"results":"79","hashOfConfig":"57"},{"size":277,"mtime":1648828571295,"results":"80","hashOfConfig":"57"},{"size":711,"mtime":1648828571295,"results":"81","hashOfConfig":"57"},{"size":48,"mtime":1648828571295,"results":"82","hashOfConfig":"57"},{"size":269,"mtime":1648828571295,"results":"83","hashOfConfig":"57"},{"size":1038,"mtime":1648828571295,"results":"84","hashOfConfig":"57"},{"size":108,"mtime":1648828571295,"results":"85","hashOfConfig":"57"},{"size":2797,"mtime":1648828571295,"results":"86","hashOfConfig":"57"},{"size":2294,"mtime":1648828571295,"results":"87","hashOfConfig":"57"},{"size":357,"mtime":1648828571295,"results":"88","hashOfConfig":"57"},{"size":325,"mtime":1648828571295,"results":"89","hashOfConfig":"57"},{"size":778,"mtime":1648828571295,"results":"90","hashOfConfig":"57"},{"size":278,"mtime":1648828571295,"results":"91","hashOfConfig":"57"},{"size":227,"mtime":1648828571295,"results":"92","hashOfConfig":"57"},{"size":921,"mtime":1648828571295,"results":"93","hashOfConfig":"57"},{"size":764,"mtime":1648828571295,"results":"94","hashOfConfig":"57"},{"size":441,"mtime":1648828571295,"results":"95","hashOfConfig":"57"},{"size":821,"mtime":1648828571295,"results":"96","hashOfConfig":"57"},{"size":1314,"mtime":1648828571295,"results":"97","hashOfConfig":"57"},{"size":253,"mtime":1648828571295,"results":"98","hashOfConfig":"57"},{"size":650,"mtime":1648828571295,"results":"99","hashOfConfig":"57"},{"size":803,"mtime":1648828571295,"results":"100","hashOfConfig":"57"},{"size":3938,"mtime":1648828571295,"results":"101","hashOfConfig":"57"},{"size":503,"mtime":1648828571295,"results":"102","hashOfConfig":"57"},{"size":1280,"mtime":1648828571295,"results":"103","hashOfConfig":"57"},{"size":9122,"mtime":1648828571295,"results":"104","hashOfConfig":"57"},{"size":495,"mtime":1648828571295,"results":"105","hashOfConfig":"57"},{"size":6652,"mtime":1648828571295,"results":"106","hashOfConfig":"57"},{"size":4576,"mtime":1648828571295,"results":"107","hashOfConfig":"57"},{"size":1815,"mtime":1648828571295,"results":"108","hashOfConfig":"57"},{"size":735,"mtime":1648828571295,"results":"109","hashOfConfig":"57"},{"size":308,"mtime":1648828571295,"results":"110","hashOfConfig":"57"},{"size":9318,"mtime":1648828571295,"results":"111","hashOfConfig":"57"},{"filePath":"112","messages":"113","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"17q1hrq",{"filePath":"114","messages":"115","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"116","messages":"117","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"118","messages":"119","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"120","messages":"121","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"122","messages":"123","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"124","messages":"125","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"126","messages":"127","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"128","messages":"129","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"130","messages":"131","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"132","messages":"133","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"134","messages":"135","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"136","messages":"137","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"138","messages":"139","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"140","messages":"141","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"142","messages":"143","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"144","messages":"145","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"146","messages":"147","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"148","messages":"149","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"150","messages":"151","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"152","messages":"153","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"154","messages":"155","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"156","messages":"157","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"158","messages":"159","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"160","messages":"161","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"162","messages":"163","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"164","messages":"165","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"166","messages":"167","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"168","messages":"169","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"170","messages":"171","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"172","messages":"173","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"174","messages":"175","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"176","messages":"177","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"178","messages":"179","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"180","messages":"181","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"182","messages":"183","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"184","messages":"185","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"186","messages":"187","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"188","messages":"189","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"190","messages":"191","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"192","messages":"193","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"194","messages":"195","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"196","messages":"197","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"198","messages":"199","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"200","messages":"201","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"202","messages":"203","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"204","messages":"205","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"206","messages":"207","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"208","messages":"209","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"210","messages":"211","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"212","messages":"213","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"214","messages":"215","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"216","messages":"217","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"218","messages":"219","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"220","messages":"221","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/execute.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/extractImplicitTypes.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/__tests__/subscribe.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/ast/TypedAST.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/ast/__tests__/addTypesToRequestDocument.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/ast/addTypesToRequestDocument.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/nice-benchmark.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/models.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/benchmarks/swapi-schema/resolvers.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/bin/__tests__/typeDefsToImplicitResolvers.test.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/bin/supermassive.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/collectFields.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/compiledQuery.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/definition.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/directives.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/executeWithSchema.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/executeWithoutSchema.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/extractImplicitTypesRuntime.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/extractImplicitTypesToTypescript.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/index.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Maybe.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/ObjMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/Path.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/PromiseOrValue.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/devAssert.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/didYouMean.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/identityFunc.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/inspect.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/instanceOf.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/invariant.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isAsyncIterable.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isIterableObject.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isObjectLike.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/isPromise.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/keyValMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/mapValue.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/memoize3.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/naturalCompare.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/printPathArray.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseForObject.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/promiseReduce.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/suggestionList.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/jsutils/toObjMap.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithSchema.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/subscribeWithoutSchema.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/transforms/annotateDocumentGraphQLTransform.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/transforms/transformerTestUtils.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/types.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mapAsyncIterator.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/utilities/mergeResolvers.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/utilities/typeNameFromAST.ts",[],"/mnt/vss/_work/1/s/packages/supermassive/src/values.ts",[]]
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
1
|
# Change Log - @graphitation/supermassive
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 01 Apr 2022 15:59:58 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.8.2
|
|
8
|
+
|
|
9
|
+
Fri, 01 Apr 2022 15:59:58 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Pin TS dependency (eloy.de.enige@gmail.com)
|
|
14
|
+
|
|
15
|
+
## 0.8.0
|
|
16
|
+
|
|
17
|
+
Thu, 10 Feb 2022 13:09:46 GMT
|
|
18
|
+
|
|
19
|
+
### Minor changes
|
|
20
|
+
|
|
21
|
+
- Resolvers merge is not required before using executeWithoutSchema (jakubvejr@microsoft.com)
|
|
22
|
+
|
|
7
23
|
## 0.7.2
|
|
8
24
|
|
|
9
|
-
Mon, 07 Feb 2022 09:13:
|
|
25
|
+
Mon, 07 Feb 2022 09:13:38 GMT
|
|
10
26
|
|
|
11
27
|
### Patches
|
|
12
28
|
|
package/lib/benchmarks/index.js
CHANGED
|
@@ -46,6 +46,8 @@ var import_graphql = __toModule(require("graphql"));
|
|
|
46
46
|
var import_graphql_jit = __toModule(require("graphql-jit"));
|
|
47
47
|
var import_executeWithoutSchema = __toModule(require("../executeWithoutSchema"));
|
|
48
48
|
var import_addTypesToRequestDocument = __toModule(require("../ast/addTypesToRequestDocument"));
|
|
49
|
+
var import_extractImplicitTypesRuntime = __toModule(require("../extractImplicitTypesRuntime"));
|
|
50
|
+
var import_values = __toModule(require("../values"));
|
|
49
51
|
const query = import_fs.default.readFileSync(import_path.default.join(__dirname, "./fixtures/query1.graphql"), {
|
|
50
52
|
encoding: "utf-8"
|
|
51
53
|
});
|
|
@@ -95,8 +97,19 @@ queryRunningSuite.add("graphql-jit - precompiled", () => __async(void 0, null, f
|
|
|
95
97
|
}
|
|
96
98
|
}));
|
|
97
99
|
queryRunningSuite.add("supermassive - runtime schemaless", () => __async(void 0, null, function* () {
|
|
100
|
+
let extractedResolvers = {};
|
|
101
|
+
const getTypeByName = (name) => {
|
|
102
|
+
const type = import_values.specifiedScalars[name] || extractedResolvers[name];
|
|
103
|
+
if ((0, import_graphql.isInputType)(type)) {
|
|
104
|
+
return type;
|
|
105
|
+
} else {
|
|
106
|
+
throw new Error("Invalid type");
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
extractedResolvers = (0, import_extractImplicitTypesRuntime.extractImplicitTypes)(parsedQuery, getTypeByName);
|
|
98
110
|
const result = yield (0, import_executeWithoutSchema.executeWithoutSchema)({
|
|
99
111
|
resolvers: import_resolvers.default,
|
|
112
|
+
schemaResolvers: extractedResolvers,
|
|
100
113
|
document: typeAnnotatedQuery,
|
|
101
114
|
contextValue: {models: import_models.default}
|
|
102
115
|
});
|
package/lib/benchmarks/index.mjs
CHANGED
|
@@ -26,10 +26,17 @@ import NiceBenchmark from "./nice-benchmark.mjs";
|
|
|
26
26
|
import schema from "./swapi-schema.mjs";
|
|
27
27
|
import resolvers from "./swapi-schema/resolvers.mjs";
|
|
28
28
|
import models from "./swapi-schema/models.mjs";
|
|
29
|
-
import {
|
|
29
|
+
import {
|
|
30
|
+
graphql,
|
|
31
|
+
execute as graphqlExecute,
|
|
32
|
+
parse,
|
|
33
|
+
isInputType
|
|
34
|
+
} from "graphql";
|
|
30
35
|
import {compileQuery, isCompiledQuery} from "graphql-jit";
|
|
31
36
|
import {executeWithoutSchema as supermassiveExecute} from "../executeWithoutSchema.mjs";
|
|
32
37
|
import {addTypesToRequestDocument} from "../ast/addTypesToRequestDocument.mjs";
|
|
38
|
+
import {extractImplicitTypes} from "../extractImplicitTypesRuntime.mjs";
|
|
39
|
+
import {specifiedScalars} from "../values.mjs";
|
|
33
40
|
var query = fs.readFileSync(path.join(__dirname, "./fixtures/query1.graphql"), {
|
|
34
41
|
encoding: "utf-8"
|
|
35
42
|
});
|
|
@@ -79,8 +86,19 @@ queryRunningSuite.add("graphql-jit - precompiled", () => __async(void 0, null, f
|
|
|
79
86
|
}
|
|
80
87
|
}));
|
|
81
88
|
queryRunningSuite.add("supermassive - runtime schemaless", () => __async(void 0, null, function* () {
|
|
89
|
+
let extractedResolvers = {};
|
|
90
|
+
const getTypeByName = (name) => {
|
|
91
|
+
const type = specifiedScalars[name] || extractedResolvers[name];
|
|
92
|
+
if (isInputType(type)) {
|
|
93
|
+
return type;
|
|
94
|
+
} else {
|
|
95
|
+
throw new Error("Invalid type");
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
extractedResolvers = extractImplicitTypes(parsedQuery, getTypeByName);
|
|
82
99
|
const result = yield supermassiveExecute({
|
|
83
100
|
resolvers,
|
|
101
|
+
schemaResolvers: extractedResolvers,
|
|
84
102
|
document: typeAnnotatedQuery,
|
|
85
103
|
contextValue: {models}
|
|
86
104
|
});
|
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const resolvers:
|
|
3
|
-
SearchResult: {
|
|
4
|
-
__types: string[];
|
|
5
|
-
__resolveType: undefined;
|
|
6
|
-
};
|
|
7
|
-
NodeType: GraphQLEnumType;
|
|
8
|
-
Subscription: {};
|
|
9
|
-
Query: {};
|
|
10
|
-
Node: {
|
|
11
|
-
__implementedBy: string[];
|
|
12
|
-
__resolveType: undefined;
|
|
13
|
-
};
|
|
14
|
-
Alive: {
|
|
15
|
-
__types: string[];
|
|
16
|
-
__resolveType: undefined;
|
|
17
|
-
};
|
|
18
|
-
Film: {};
|
|
19
|
-
Vehicle: {};
|
|
20
|
-
Person: {};
|
|
21
|
-
Starship: {};
|
|
22
|
-
Planet: {};
|
|
23
|
-
Species: {};
|
|
24
|
-
Transport: {};
|
|
25
|
-
};
|
|
1
|
+
import { Resolvers } from "@graphitation/supermassive";
|
|
2
|
+
export declare const resolvers: Resolvers;
|
|
26
3
|
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/benchmarks/swapi-schema/__generated__/schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/benchmarks/swapi-schema/__generated__/schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAkF,MAAM,4BAA4B,CAAC;AAcvI,eAAO,MAAM,SAAS,EAAE,SAAqI,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
+
var __markAsModule = (target) => __defProp(target, "__esModule", {value: true});
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, {get: all[name], enumerable: true});
|
|
11
|
+
};
|
|
12
|
+
var __reExport = (target, module2, desc) => {
|
|
13
|
+
if (module2 && typeof module2 === "object" || typeof module2 === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(module2))
|
|
15
|
+
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
16
|
+
__defProp(target, key, {get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable});
|
|
17
|
+
}
|
|
18
|
+
return target;
|
|
19
|
+
};
|
|
20
|
+
var __toModule = (module2) => {
|
|
21
|
+
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? {get: () => module2.default, enumerable: true} : {value: module2, enumerable: true})), module2);
|
|
22
|
+
};
|
|
23
|
+
__markAsModule(exports);
|
|
24
|
+
__export(exports, {
|
|
25
|
+
resolvers: () => resolvers
|
|
26
|
+
});
|
|
27
|
+
var import_graphql = __toModule(require("graphql"));
|
|
28
|
+
const SearchResult = {__types: ["Person", "Starship", "Transport", "Species", "Vehicle", "Planet", "Film"], __resolveType: void 0};
|
|
29
|
+
const NodeType = new import_graphql.GraphQLEnumType({name: "NodeType", description: "", values: {Person: {description: ""}, Starship: {description: ""}, Transport: {description: ""}, Species: {description: ""}, Vehicle: {description: ""}, Planet: {description: ""}, Film: {description: ""}}});
|
|
30
|
+
const Subscription = {};
|
|
31
|
+
const Query = {};
|
|
32
|
+
const Alive = {__types: ["Person", "Species"], __resolveType: void 0};
|
|
33
|
+
const Film = {};
|
|
34
|
+
const Vehicle = {};
|
|
35
|
+
const Person = {};
|
|
36
|
+
const Starship = {};
|
|
37
|
+
const Planet = {};
|
|
38
|
+
const Species = {};
|
|
39
|
+
const Transport = {};
|
|
40
|
+
const Node = {__implementedBy: ["Film", "Vehicle", "Person", "Starship", "Planet", "Species", "Transport"], __resolveType: void 0};
|
|
41
|
+
const resolvers = {SearchResult, NodeType, Subscription, Query, Node, Alive, Film, Vehicle, Person, Starship, Planet, Species, Transport};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// src/benchmarks/swapi-schema/__generated__/schema.ts
|
|
2
|
+
import {GraphQLEnumType} from "graphql";
|
|
3
|
+
var SearchResult = {__types: ["Person", "Starship", "Transport", "Species", "Vehicle", "Planet", "Film"], __resolveType: void 0};
|
|
4
|
+
var NodeType = new GraphQLEnumType({name: "NodeType", description: "", values: {Person: {description: ""}, Starship: {description: ""}, Transport: {description: ""}, Species: {description: ""}, Vehicle: {description: ""}, Planet: {description: ""}, Film: {description: ""}}});
|
|
5
|
+
var Subscription = {};
|
|
6
|
+
var Query = {};
|
|
7
|
+
var Alive = {__types: ["Person", "Species"], __resolveType: void 0};
|
|
8
|
+
var Film = {};
|
|
9
|
+
var Vehicle = {};
|
|
10
|
+
var Person = {};
|
|
11
|
+
var Starship = {};
|
|
12
|
+
var Planet = {};
|
|
13
|
+
var Species = {};
|
|
14
|
+
var Transport = {};
|
|
15
|
+
var Node = {__implementedBy: ["Film", "Vehicle", "Person", "Starship", "Planet", "Species", "Transport"], __resolveType: void 0};
|
|
16
|
+
var resolvers = {SearchResult, NodeType, Subscription, Query, Node, Alive, Film, Vehicle, Person, Starship, Planet, Species, Transport};
|
|
17
|
+
export {
|
|
18
|
+
resolvers
|
|
19
|
+
};
|
package/lib/bin/supermassive.js
CHANGED
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executeWithSchema.d.ts","sourceRoot":"","sources":["../src/executeWithSchema.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAa,eAAe,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"executeWithSchema.d.ts","sourceRoot":"","sources":["../src/executeWithSchema.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAa,eAAe,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAE9E,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,SAAS,EACT,QAAQ,EAAE,WAAW,EACrB,SAAS,EACT,YAAY,EACZ,cAAc,EACd,aAAa,EACb,aAAa,EACb,YAAY,GACb,EAAE,uBAAuB,GAAG,cAAc,CAAC,eAAe,CAAC,CAyB3D"}
|
package/lib/executeWithSchema.js
CHANGED
|
@@ -26,7 +26,6 @@ __export(exports, {
|
|
|
26
26
|
});
|
|
27
27
|
var import_graphql = __toModule(require("graphql"));
|
|
28
28
|
var import_index = __toModule(require("./index"));
|
|
29
|
-
var import_mergeResolvers = __toModule(require("./utilities/mergeResolvers"));
|
|
30
29
|
function executeWithSchema({
|
|
31
30
|
typeDefs,
|
|
32
31
|
resolvers,
|
|
@@ -49,11 +48,11 @@ function executeWithSchema({
|
|
|
49
48
|
}
|
|
50
49
|
};
|
|
51
50
|
extractedResolvers = (0, import_index.extractImplicitTypes)(typeDefs, getTypeByName);
|
|
52
|
-
const fullResolvers = (0, import_mergeResolvers.mergeResolvers)(resolvers, extractedResolvers);
|
|
53
51
|
const document = (0, import_index.addTypesToRequestDocument)(schema, rawDocument);
|
|
54
52
|
return (0, import_index.executeWithoutSchema)({
|
|
55
53
|
document,
|
|
56
|
-
resolvers
|
|
54
|
+
resolvers,
|
|
55
|
+
schemaResolvers: extractedResolvers,
|
|
57
56
|
rootValue,
|
|
58
57
|
contextValue,
|
|
59
58
|
variableValues,
|
|
@@ -6,7 +6,6 @@ import {
|
|
|
6
6
|
extractImplicitTypes,
|
|
7
7
|
specifiedScalars
|
|
8
8
|
} from "./index.mjs";
|
|
9
|
-
import {mergeResolvers} from "./utilities/mergeResolvers.mjs";
|
|
10
9
|
function executeWithSchema({
|
|
11
10
|
typeDefs,
|
|
12
11
|
resolvers,
|
|
@@ -29,11 +28,11 @@ function executeWithSchema({
|
|
|
29
28
|
}
|
|
30
29
|
};
|
|
31
30
|
extractedResolvers = extractImplicitTypes(typeDefs, getTypeByName);
|
|
32
|
-
const fullResolvers = mergeResolvers(resolvers, extractedResolvers);
|
|
33
31
|
const document = addTypesToRequestDocument(schema, rawDocument);
|
|
34
32
|
return executeWithoutSchema({
|
|
35
33
|
document,
|
|
36
|
-
resolvers
|
|
34
|
+
resolvers,
|
|
35
|
+
schemaResolvers: extractedResolvers,
|
|
37
36
|
rootValue,
|
|
38
37
|
contextValue,
|
|
39
38
|
variableValues,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executeWithoutSchema.d.ts","sourceRoot":"","sources":["../src/executeWithoutSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EASb,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,YAAY,EACZ,SAAS,EACT,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC3B,QAAQ,EACT,MAAM,gBAAgB,CAAC;AAQxB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAG3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"executeWithoutSchema.d.ts","sourceRoot":"","sources":["../src/executeWithoutSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EASb,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,YAAY,EACZ,SAAS,EACT,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC3B,QAAQ,EACT,MAAM,gBAAgB,CAAC;AAQxB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAG3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAI/D,OAAO,EACL,0BAA0B,EAE1B,qBAAqB,EAGrB,WAAW,EAEX,SAAS,EACT,YAAY,EAEZ,eAAe,EAChB,MAAM,SAAS,CAAC;AAQjB;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC/B,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC,sBAAsB,CAAC,CAAC;IAC1C,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,uBAAuB,CAAC;IACnC,cAAc,EAAE;QAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAChD,aAAa,EAAE,qBAAqB,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IAC/C,YAAY,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IACrC,MAAM,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;CAC7B;AAED;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,0BAA0B,GAC/B,cAAc,CAAC,eAAe,CAAC,CA4CjC;AAoBD;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAC3C,QAAQ,EAAE,YAAY,EACtB,iBAAiB,EAAE,KAAK,CAAC;IAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC,GACxD,IAAI,CAQN;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,YAAY,EACtB,SAAS,EAAE,OAAO,EAClB,YAAY,EAAE,OAAO,EACrB,iBAAiB,EAAE,KAAK,CAAC;IAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC,EACzD,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,EAC5B,aAAa,EAAE,KAAK,CAAC,qBAAqB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,EAC7D,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,GACnD,KAAK,CAAC,YAAY,CAAC,GAAG,gBAAgB,CAyDxC;AAoPD;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,gBAAgB,EAC5B,SAAS,EAAE,MAAM,EACjB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,EAC5B,cAAc,EAAE,MAAM,EACtB,cAAc,EAAE,MAAM,EACtB,cAAc,EAAE,QAAQ,EACxB,IAAI,EAAE,IAAI,GACT,WAAW,CAeb;AA2XD;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,EAAE,YAAY,CAAC,OAAO,EAAE,OAAO,CAM9D,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,EAAE,qBAAqB,CACtD,OAAO,EACP,OAAO,CAUR,CAAC;AAGF,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,uBAAuB,GAAG,2BAA2B,GAC/D,MAAM,CASR"}
|
|
@@ -42,11 +42,13 @@ var import_Path = __toModule(require("./jsutils/Path"));
|
|
|
42
42
|
var import_promiseForObject = __toModule(require("./jsutils/promiseForObject"));
|
|
43
43
|
var import_promiseReduce = __toModule(require("./jsutils/promiseReduce"));
|
|
44
44
|
var import_definition = __toModule(require("./definition"));
|
|
45
|
+
var import_mergeResolvers = __toModule(require("./utilities/mergeResolvers"));
|
|
45
46
|
var import_typeNameFromAST = __toModule(require("./utilities/typeNameFromAST"));
|
|
46
47
|
var import_values = __toModule(require("./values"));
|
|
47
48
|
function executeWithoutSchema(args) {
|
|
48
49
|
const {
|
|
49
50
|
resolvers,
|
|
51
|
+
schemaResolvers,
|
|
50
52
|
document,
|
|
51
53
|
rootValue,
|
|
52
54
|
contextValue,
|
|
@@ -55,8 +57,9 @@ function executeWithoutSchema(args) {
|
|
|
55
57
|
fieldResolver,
|
|
56
58
|
typeResolver
|
|
57
59
|
} = args;
|
|
60
|
+
const combinedResolvers = (0, import_mergeResolvers.mergeResolvers)(resolvers, schemaResolvers);
|
|
58
61
|
assertValidExecutionArguments(document, variableValues);
|
|
59
|
-
const exeContext = buildExecutionContext(
|
|
62
|
+
const exeContext = buildExecutionContext(combinedResolvers, document, rootValue, contextValue, variableValues, operationName, fieldResolver, typeResolver);
|
|
60
63
|
if (!("resolvers" in exeContext)) {
|
|
61
64
|
return {errors: exeContext};
|
|
62
65
|
} else {
|
|
@@ -19,6 +19,7 @@ import {addPath, pathToArray} from "./jsutils/Path.mjs";
|
|
|
19
19
|
import {promiseForObject} from "./jsutils/promiseForObject.mjs";
|
|
20
20
|
import {promiseReduce} from "./jsutils/promiseReduce.mjs";
|
|
21
21
|
import {isUnionResolverType, isInterfaceResolverType} from "./definition.mjs";
|
|
22
|
+
import {mergeResolvers} from "./utilities/mergeResolvers.mjs";
|
|
22
23
|
import {typeNameFromAST} from "./utilities/typeNameFromAST.mjs";
|
|
23
24
|
import {
|
|
24
25
|
getArgumentValues,
|
|
@@ -28,6 +29,7 @@ import {
|
|
|
28
29
|
function executeWithoutSchema(args) {
|
|
29
30
|
const {
|
|
30
31
|
resolvers,
|
|
32
|
+
schemaResolvers,
|
|
31
33
|
document,
|
|
32
34
|
rootValue,
|
|
33
35
|
contextValue,
|
|
@@ -36,8 +38,9 @@ function executeWithoutSchema(args) {
|
|
|
36
38
|
fieldResolver,
|
|
37
39
|
typeResolver
|
|
38
40
|
} = args;
|
|
41
|
+
const combinedResolvers = mergeResolvers(resolvers, schemaResolvers);
|
|
39
42
|
assertValidExecutionArguments(document, variableValues);
|
|
40
|
-
const exeContext = buildExecutionContext(
|
|
43
|
+
const exeContext = buildExecutionContext(combinedResolvers, document, rootValue, contextValue, variableValues, operationName, fieldResolver, typeResolver);
|
|
41
44
|
if (!("resolvers" in exeContext)) {
|
|
42
45
|
return {errors: exeContext};
|
|
43
46
|
} else {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extractImplicitTypesToTypescript.d.ts","sourceRoot":"","sources":["../src/extractImplicitTypesToTypescript.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,MAAM,YAAY,CAAC;AACzC,OAAO,EACL,YAAY,EAab,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"extractImplicitTypesToTypescript.d.ts","sourceRoot":"","sources":["../src/extractImplicitTypesToTypescript.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,MAAM,YAAY,CAAC;AACzC,OAAO,EACL,YAAY,EAab,MAAM,SAAS,CAAC;AAmBjB,wBAAgB,gCAAgC,CAC9C,QAAQ,EAAE,YAAY,GACrB,EAAE,CAAC,UAAU,CA8Jf"}
|