node-wot icon indicating copy to clipboard operation
node-wot copied to clipboard

Follow-up on validating output for (async) actions

Open danielpeintner opened this issue 8 months ago • 0 comments

Given the discussion of today's committer meeting:

  • TD spec is not clear about what to expect when the sync property is missing
  • Eargerly validate the output in this cases means to try out smart the developer which is quite a bad practice
  • Therefore we decided to merge this PR as a workaround for the whole situation. We acknowledge that there needs to be follow up fixes both in Scripting API and Thing Description spec to properly solve the issue.

Originally posted by @relu91 in https://github.com/eclipse-thingweb/node-wot/pull/1279#pullrequestreview-2104114749

See also Scripting API issues https://github.com/w3c/wot-scripting-api/issues/554 and https://github.com/w3c/wot-scripting-api/issues/555

danielpeintner avatar Jun 07 '24 13:06 danielpeintner