We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 275933b commit 315479cCopy full SHA for 315479c
packages/cubejs-server-core/src/core/DevServer.ts
@@ -611,6 +611,12 @@ export class DevServer {
611
app.post('/playground/schema/pre-aggregation', catchErrors(async (req: Request, res: Response) => {
612
const { cubeName, preAggregationName, code } = req.body;
613
614
+ /**
615
+ * Important note:
616
+ * JS code for pre-agg includes the content of the pre-aggregation object
617
+ * without name, which is passed as preAggregationName.
618
+ * While yaml code for pre-agg includes whole yaml object including name.
619
+ */
620
const schemaConverter = new CubeSchemaConverter(this.cubejsServer.repository, [
621
new CubePreAggregationConverter({
622
cubeName,
0 commit comments