Design 47 H: H-A-352, the form of a seat definition
This commit is contained in:
@@ -2203,3 +2203,10 @@ Where two preparers disagreed, the chosen one is named.
|
||||
call's _meta as mesh/ask beside mesh/call; holders read it with one mesh-sdk helper on both sides (Go stdio and
|
||||
TypeScript); no verb's input gains a field. One shape for every seat and both languages (P9); the one change in
|
||||
mesh-tools (the tool runner copies the header) is that developer's subtask, relayed. P9, P7.
|
||||
- **H-A-352 (the form of a seat definition, 22:47)** (1) mesh-sdk's seat definition reader gains form on the definition
|
||||
and on a part (absent reads 1, below 1 refused; tolerant of unknown fields, H-A-309); the mesh-sdk developer builds
|
||||
it, the generator reads it. (2) The generator's check compares the new definition against the generated contract
|
||||
in the tree: each generated contract carries const Form and a digest of the definition's fields (names and types of
|
||||
every value, event, accept and answer); the compare fails when the digest differs while Form is equal. (3) One form
|
||||
per seat definition, a part's own form for what it adds; every message type gains the wire field form (left out
|
||||
while 1); generated tolerant decoders Decode<Type>(raw) answer the value and the form read. P3, P9, H-A-338 (8).
|
||||
|
||||
Reference in New Issue
Block a user