From f3d40a45b483d5d958a66f89dbb923ce2cf1786d Mon Sep 17 00:00:00 2001 From: Scott Trinh Date: Tue, 10 Oct 2023 11:47:46 -0400 Subject: [PATCH] Add progress messages to edgeql-js --- packages/generate/src/edgeql-js.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/generate/src/edgeql-js.ts b/packages/generate/src/edgeql-js.ts index bc7ded7ba..0218b4ccd 100644 --- a/packages/generate/src/edgeql-js.ts +++ b/packages/generate/src/edgeql-js.ts @@ -122,13 +122,21 @@ export async function generateQueryBuilder(params: { operators, edgedbVersion: version, }; + console.log("Generating runtime spec..."); generateRuntimeSpec(generatorParams); + console.log("Generating cast maps..."); generateCastMaps(generatorParams); + console.log("Generating scalars..."); generateScalars(generatorParams); + console.log("Generating object types..."); generateObjectTypes(generatorParams); + console.log("Generating function types..."); generateFunctionTypes(generatorParams); + console.log("Generating operators..."); generateOperators(generatorParams); + console.log("Generating set impl..."); generateSetImpl(generatorParams); + console.log("Generating globals..."); generateGlobals(generatorParams); // TODO: Fix 'fts' module generation properly, for now we just disable