You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a couple of if conditions after line 107 that can result in a document recognized as a TM even if the document does not have tm:thingModel in the @type. I do not understand why those checks are added but if I am not wrong, everything after line 107 should be deleted and an else should be added instead that returns false.
The text was updated successfully, but these errors were encountered:
There is a function called isThingModel in the td-tools package at https://github.com/eclipse/thingweb.node-wot/blob/master/packages/td-tools/src/thing-model-helpers.ts#L91
There are a couple of if conditions after line 107 that can result in a document recognized as a TM even if the document does not have
tm:thingModel
in the@type
. I do not understand why those checks are added but if I am not wrong, everything after line 107 should be deleted and anelse
should be added instead that returns false.The text was updated successfully, but these errors were encountered: