Skip to content

Commit 7293f3d

Browse files
committed
fixup! [Docs] Add DR002 for versioning in codegen
Trait views must also be used to add information. Also line wrap. Signed-off-by: David Feltell <[email protected]>
1 parent 95bc073 commit 7293f3d

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

decisions/DR002-Versioning-traits-and-specifications-codegen.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@
1212
## Background
1313

1414
The medium of data exchange between a host and a manager is a logically
15-
opaque data blob, i.e. a `TraitsData` object. In order to extract
16-
information
17-
from this object, Trait and/or Specification view classes must be
18-
used[^1]. These classes wrap a `TraitsData` instance, and provide a
19-
suite of accessor and mutator methods that are relevant to the target
20-
trait. The classes are generated from a YAML schema (e.g. see
15+
opaque data blob, i.e. a `TraitsData` object. In order to add/extract
16+
information to/from this object, Trait and/or Specification view classes
17+
must be used[^1]. These classes wrap a `TraitsData` instance, and
18+
provide a suite of accessor and mutator methods that are relevant to the
19+
target trait. The classes are generated from a YAML schema (e.g. see
2120
[traits.yml](../traits.yml)).
2221

2322
Hosts and managers may use different versions of the schema, and hence

0 commit comments

Comments
 (0)