Stream: implementers
Topic: Extension code
Lauri Karppinen (Jun 03 2020 at 08:53):
When creating extension with forge, there is several levels where code can be put. Is there any rule what is the right place to put it? Extension.value[x] or Extension.value[x].id. If for example there would be int as a value of extension. I would like to tell in a code elemet that in value in the value element tells a size of a hat. I assume that Extension.value[x] would be the right "level" to put the specifying code?
extensionCode.png
Lloyd McKenzie (Jun 03 2020 at 17:13):
What is your objective for having a 'code'? Just to indicate the meaning of the extension according to some external terminology?
Lauri Karppinen (Jun 04 2020 at 05:23):
Exactly. Code would be indicating the meaning of the extension.
Lauri Karppinen (Jun 04 2020 at 05:50):
What is the general opinion? If there is some suitable code available to indicate meaning of extension. Should it be used?
Lloyd McKenzie (Jun 04 2020 at 06:27):
You certainly can, but it's not commonly done.
Last updated: Apr 12 2022 at 19:14 UTC