logaritmisk e96f74f47a feat(db): enforce required-field completeness on publish (#16)
set_visibility now gates the transition to Public: every field definition
with required=true must have a value on the object (typed inventory-minimum
columns are already NOT NULL, so only flexible required fields are checked).
Missing values yield VisibilityError::MissingRequiredFields(keys); the admin
publish endpoint maps it to 422. The gate runs in db so every caller is
protected and the check is atomic with the transition.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 23:36:24 +02:00
2026-06-02 00:35:01 +02:00
S
Description
No description provided
Readme 2.9 MiB
Languages
Rust 49.4%
TypeScript 48%
JavaScript 1.7%
CSS 0.5%
PLpgSQL 0.2%
Other 0.2%