Closed milyin closed 2 months ago
@Mallets please confirm, that now EntityGlobalId
is blind and user should not neither be able to create it manually nor have access to (SessionId, EntityId) fields
@wyfo, thank you for noticing this issue in zenoh-c API
EntityGlobalId
is internal and users should only have read access to it. In any case, EntityGlobalId
should only be present in SourcInfo
which is unstable
if I'm not mistaken.
Should be fixed in https://github.com/eclipse-zenoh/zenoh-c/pull/485
Rust's EntityGlobalId
provides RO access to zid and eid fields. Constructor is removed. So C API is ok,
Describe the release item
In the existing Rust API the
EntityGlobalId
is a wrapper foEntityGlobalIdProto
. All details ofEntityGlobalIdProto
is hidden now. So functionsz_entity_global_id_new
,z_entity_global_id_zid
,z_entity_global_id_eid
should also be removed from C API