You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ROADMAP.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,12 @@
3
3
## v0.2
4
4
5
5
-[ ]**Inline template support** — Allow passing SQL strings directly without requiring a `.sql` file, reducing boilerplate for short one-off queries
6
-
-[ ]**Template caching** — Cache loaded templates in a `Map`to avoid redundant `readFileSync` calls when `defineQuery` is used outside module scope
6
+
-[ ]**Export rendered SQL to file** — Add an option to write the rendered SQL to a file for debugging and audit purposes
7
7
-[ ]**TypeDescriptor `description` field** — Add an optional `description` property to `TypeDescriptor` so schema validation errors can display the expected format (e.g. `Expected: ISO date YYYY-MM-DD`)
8
8
9
9
## Maybe
10
10
11
+
-[ ]**Template caching** — Cache loaded templates in a `Map` to avoid redundant `readFileSync` calls when `defineQuery` is used outside module scope
11
12
-[ ]**Conditional blocks / IN-list expansion** — Support optional WHERE clauses (`{{#if}}`) and array expansion (`WHERE id IN ({{ids}})`). Would change the library's templating nature significantly — evaluate only if `.sql` file duplication becomes a real pain point
12
13
-[ ]**Async `loadTemplate`** — Non-blocking file reads for server environments (Express, Fastify). Not needed for current Lambda/script use cases
13
14
-[ ]**Query execution integration** — Return parameterized output or integrate with Athena SDK. Intentionally out of scope to preserve single responsibility — better suited as a separate package
0 commit comments