JoelGaechter commented on issue #1935:
URL: https://github.com/apache/plc4x/issues/1935#issuecomment-2662379582

   Thanks a lot for the effort.
   
   The intention was to pass the disconnected entity forward, that's why we 
used `PlcEntityManager::read`. To achieve this, the way to go would therefore 
be to have a connected entity with a `copy`/`clone` method. This should have 
the same effect as `updateAllTheTags` but also return a copy of the entity. 
Perhaps this even works with `Object::clone`, but I would need to verify this 
for the ByteBuddy proxy.
   As suggested, we will probably swap to the the Read API though.
   
   @chrisdutz I think there is a typo in the new documentation. In [Simple 
Example 
(Detached)](https://plc4x.apache.org/plc4x/pre-release/users/tools/opm.html#_simple_example_detached),
 it should be `read` instead of `connect` I suppose.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to