wispem-wantex
  • Joined on 2025-05-31
wispem-wantex pushed to master at offline-labs/gas-stack 2026-03-04 01:56:24 +00:00
fcf266eb1d tests: add integration test for blob fields
29787b5521 fix: make codegen not fail for "blob" columns
Compare 2 commits »
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-23 05:58:14 +00:00
e53546a7f5 lint: fix several lll, wrapcheck, and copy-paste errors
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-23 05:46:46 +00:00
c09a2fe1fb tmp: grafana stuff
3e0a85fcfa codegen: add unique index lookup funcs
Compare 2 commits »
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-18 00:27:52 +00:00
d6426bba14 codegen: add ability to insert comments and blank lines into the generated code
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-15 22:49:56 +00:00
8ab21edae9 codegen: move generated test helpers to new 'db_test.go' file
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-15 22:20:47 +00:00
ee1d0a5ed7 codegen (refactor): move foreign key failure check lambda function generator to a helper func
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-15 22:10:34 +00:00
93b589d1b2 codegen (refactor): compress whitespace
b0d95c5948 codegen: skip generating ID type for "without rowid" tables
85d544152f schema: add PrimaryKeyColumns method to Table, useful for 'without rowid' tables
Compare 3 commits »
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-15 20:26:29 +00:00
5cbb657666 codegen: add helpers
b8a024a4b9 doc: remove completed auto-timestamp and fk check TODO items
Compare 2 commits »
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-15 07:21:15 +00:00
4cba2af670 codegen: more AST style improvements
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-15 06:58:09 +00:00
04676461ff doc: add TODOs
a36058fdbe codegen (refactor): clean up helpers a bit
f0c152cfe4 codegen: add auto-timestamp checking to generated tests
Compare 3 commits »
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-15 06:05:22 +00:00
5973a2a4b7 codegen: implement auto-timestamps for created_at and updated_at
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-08 06:30:24 +00:00
75b7662c34 lint: fix lll and imports
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-08 06:11:00 +00:00
229f41e478 schema: add tests to show that migrations can be validated
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-07 23:13:30 +00:00
2e50736e67 schema: enable parsing a schema from an existing sqlx.DB instance
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-01 16:17:18 +00:00
1c56661560 codegen: add foreign key error check test
3d357abb93 gitignore: ignore temporary / legacy files
Compare 2 commits »
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-01 02:30:16 +00:00
a3da7573c1 codegen: slop out an AST generator for 'checkForeignKeyErrors' in 'SaveXyz()'
wispem-wantex pushed to master at offline-labs/gas-stack 2026-02-01 02:26:09 +00:00
b96ab19bc2 refactor: create helper functions in model generator
cb8edd74c0 codegen: fix whitespace error in generated SQL
Compare 2 commits »
wispem-wantex pushed to master at offline-labs/gas-stack 2026-01-27 00:00:29 +00:00
a0d0461f06 codegen: handle nullable foreign keys using 'ifnull' and add a test case for them
wispem-wantex pushed to master at offline-labs/gas-stack 2026-01-26 22:55:05 +00:00
e85a68e69d devcontainer: make it work on mac
eee6714918 codegen: style fixes ('int64' -> 'int', 'SELECT' -> 'select')
Compare 2 commits »
wispem-wantex pushed tag v0.0.1 to offline-labs/gas-stack 2026-01-17 00:10:26 +00:00