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

Review and fix the purpose of `updateXFormWithTemplate`

Open relu91 opened this issue 1 year ago • 1 comments

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 the produce 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

relu91 avatar Jun 26 '23 08:06 relu91