Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

properties renamed to parameters, selector rework #1100

Merged
merged 50 commits into from
Jun 13, 2024
Merged

Conversation

milyin
Copy link
Contributor

@milyin milyin commented Jun 9, 2024

This PR fixes issue #1070 and reduces importance of Selector type which is now just convenient wrapper for (KeyExpr, Parameters) pair without much usage throughout API. This also fixes the last item (time_range issue) in #1067

  • empty type zenoh_protocol::Parameters removed, added bunch of standalone functions in module zenoh_protocol::parameters instead
  • type zenoh_protocol::Properties renamed to zenoh_protocol:Parameters
  • zenoh_protocol:Parameters reexported from zenoh without wrapper type
  • additional trait PredefinedParameters implemented for Parameters type. This trait adds getters/setters and constant names for specific parameters used by zenoh

@milyin milyin marked this pull request as ready for review June 12, 2024 15:01
zenoh/src/api/selector.rs Outdated Show resolved Hide resolved
@milyin milyin merged commit 8591dcc into dev/1.0.0 Jun 13, 2024
21 checks passed
@milyin milyin deleted the selector_rework3 branch June 13, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
2 participants