Closed mamund closed 6 years ago
On Sep 6, 2017, at 15:48, Mike Amundsen notifications@github.com wrote:
reading through the rules of how extension attributes are expressed is a bit gnarly. would be good to see one or more actual examples that show which extensions MUST use arrays, which not, etc.
all extension attributes must be arrays because every extension attribute may be allowed to repeat. we'll look into where might be a good spot to add examples.
Understood.
I got a big confused about arrays when reading points three and four on that list. That's where an example would be handy, I think.
please have a look at the first proposal to resolve this issue. please be aware that it's in the -02
files, because -01
has been published.
I like the addition of this example.
I was also wondering whether it would be helpful to add the "rules" that guide the serialization decisions at the outset of the JSON section. I mean by this something like the bullet list under "Overall serialization approach" in #80
if the proposed example is good enough, please feel free to close this issue.
This one is done.
reading through the rules of how extension attributes are expressed is a bit gnarly. would be good to see one or more actual examples that show which extensions MUST use arrays, which not, etc.
https://github.com/dret/I-D/blob/master/linkset/draft-wilde-linkset-01.txt#L512