Files
go-admin/app
zhangwenjian 99d22249ef fix🐛: refuse to generate a table whose key is not one column
The templates address a row by a single key: one field on the model, one
path parameter, one value per row in a delete. A table with no primary key
rendered a model whose GetId returned an empty field name, and a composite
key was silently narrowed to whichever of its columns the importer read
last. Both wrote files that break the build of the whole module.

Preview and NOActionsGen now check first and return an error naming the
table and, for a composite key, its columns. Nothing is written.
2026-09-25 20:00:30 +08:00
..