Skip to content

Commit 190ed5c

Browse files
authored
Merge pull request #39 from ietf-wg-asdf/property-map-readwrite-guard
Forbid "read"/"write" members in property protocol map attributes
2 parents 5fb0a63 + 3986258 commit 190ed5c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

draft-ietf-asdf-sdf-protocol-mapping.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ provide either:
182182
- Separate `read` and `write` mappings when the protocol uses different
183183
attributes for each direction.
184184

185+
To keep these two forms unambiguous, the protocol-specific attribute map
186+
(the `props` type) MUST NOT define members named `read` or `write`.
187+
185188
To extend `$$SDF-PROPERTY-PROTOCOL-MAP` for a new protocol (e.g.,
186189
"new-protocol"), implementers MUST use the `property-protocol-map` generic with
187190
the protocol name and a map type defining the protocol-specific attributes.

0 commit comments

Comments
 (0)