zenoh icon indicating copy to clipboard operation
zenoh copied to clipboard

Make get(), put(), delete() return proper builders

Open Mallets opened this issue 3 years ago • 1 comments

subscribe(), queryable(), and publish() return respectively SubscriberBuilder, QueryableBuilder, PublisherBuilder.

For consistency, get(), put(), delete() should also return GetBuilder, PutBuilder, DeleteBuilder types. This is particular relevant for the different types returned by put() and delete() since some configs used in put() operations don’t make sense for delete() ones.

Tasks:

  • [x] GetBuilder
  • [x] PutBuilder
  • [x] DeletBuilder

Mallets avatar Apr 07 '22 13:04 Mallets

https://github.com/eclipse-zenoh/zenoh/pull/255 has been merged into api-changes branch. This issue will be automatically closed once api-changes is merged into master.

Mallets avatar Apr 19 '22 13:04 Mallets

Merged into master.

Mallets avatar Sep 28 '22 09:09 Mallets