node-wot
node-wot copied to clipboard
Review and fix the purpose of `updateXFormWithTemplate`
If I recall correctly those set of methods are meant to update the form generated by the binding, trying to fulfill what the user set in the
PartialTD
passed in theproduce
method. My guess is that using them in two different bindings causes some possible collisions 🤔 . However, the methods are poorly implemented and I think we should review them in the future. I propose merging this PR and keeping track of this issue.
Originally posted by @relu91 in https://github.com/eclipse-thingweb/node-wot/issues/1026#issuecomment-1595812182
Additional context
The issue is about the methods in the ProtocolHelpers class