mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-30 12:51:25 +00:00
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.