Actually … The more I think of it, possibly letting go of var-args in total might also be a good Idea.
Right now, someone could put in one PlcList of values or multiple PlcValues … but what if he puts in multiple PlcList? If we simply say in a Write operation for one tag you put in one PlcValue … if you want to write an array, put in a PlcList. Chris Von: Christofer Dutz <christofer.d...@c-ware.de> Datum: Freitag, 17. Mai 2024 um 15:51 An: dev@plc4x.apache.org <dev@plc4x.apache.org> Betreff: [DISCUSS] Remove the Var-Arg Object methods and replace them with PlcValues? Hi all, I know we staeted with accepting Object… vararg arguments in the early days of PLC4X but due to many issues coming from not guessing the right types, most drivers now expec PlcValues as arguments. However, we still have parts of the API that use Object… I propose to clean this up and replace it with “PlcValue…” var-args so we finally find the missing places where we’re not handling things correctly. What do you folks think? Chris