News for hackers. Stuff that matters.
Re:Cube.js: Headless Semantic Layer by moltar on Monday May 01, 2023 @06:24PM (#35780078)
I’ve toyed around with Cube and it’s certainly a solid and mature product!

My only gripe was the cube definition. It uses a weird JS-like DSL, but not real JS. You can’t use any packages or anything. Feels like a strange limitation. Also lacks types, which are table stakes these days.

We’ll probably adapt it in the coming SaaS build out!

Re:Cube.js: Headless Semantic Layer by pavel_tiunov on Monday May 01, 2023 @06:35PM (#35780217)
You actually can use any npm packages. Here's an example on how you can use `node-fetch`: https://cube.dev/docs/schema/advanced/dynamic-schema-creatio.... Same capabilities are coming soon for Python and YAML as well.