node-wot
node-wot copied to clipboard
PR 1186 follow-ups w.r.t. validation
I think we can merge this PR as is and look at some points raised in the comments later
- @relu91 check implementation in browser
- @danielpeintner function getLastValidationErrors() not in any case what one would expect ...
Originally posted by @danielpeintner in https://github.com/eclipse-thingweb/node-wot/issues/1186#issuecomment-1866519050
Another thing that needs to be added is some validation logic for the TDD Thing Description itself (e.g., ensuring that ThingDirectory
is present in the @type
field). I only thought about that shortly before #1186 got merged :/