Struct-filling #14

Merged
lilleman merged 10 commits from struct-filling into main 2026-09-15 17:52:29 +02:00
Owner

FakeStruct fills fake-tagged struct fields as one record: a tag is a path or an inline template, a field's Go type its datatype, range-checked through the value proof, and a pointer takes null. Embedded structs join their struct's record, a named struct field is a record of its own, fake:"-" leaves a struct field unfilled, and a type reaching more than 1024 structs is refused.

IsTemplate moves the path-or-template shape rule from the CLI into the library and refuses a lone reference ({/a.b}) and a leading / naming the path, so the CLI now exits 2 for both. A data name may no longer be -.

FakeStruct fills fake-tagged struct fields as one record: a tag is a path or an inline template, a field's Go type its datatype, range-checked through the value proof, and a pointer takes null. Embedded structs join their struct's record, a named struct field is a record of its own, fake:"-" leaves a struct field unfilled, and a type reaching more than 1024 structs is refused. IsTemplate moves the path-or-template shape rule from the CLI into the library and refuses a lone reference ({/a.b}) and a leading / naming the path, so the CLI now exits 2 for both. A data name may no longer be -.
lilleman added 2 commits 2026-09-15 16:23:41 +02:00
lilleman added 2 commits 2026-09-15 16:54:17 +02:00
lilleman added 2 commits 2026-09-15 17:11:31 +02:00
lilleman added 2 commits 2026-09-15 17:35:24 +02:00
lilleman added 2 commits 2026-09-15 17:50:51 +02:00
lilleman marked the pull request as ready for review 2026-09-15 17:52:22 +02:00
lilleman merged commit 3cd3f8f317 into main 2026-09-15 17:52:29 +02:00
lilleman deleted branch struct-filling 2026-09-15 17:52:29 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: larvit/fejkdata#14