-
Notifications
You must be signed in to change notification settings - Fork 82
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
Add keyexpr_was_declared api function #315
Conversation
LGTM but I'd like to have the review as well from @milyin . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation update requested
@@ -97,6 +97,18 @@ z_owned_str_t z_keyexpr_to_string(z_keyexpr_t keyexpr); | |||
*/ | |||
z_bytes_t z_keyexpr_as_bytes(z_keyexpr_t keyexpr); | |||
|
|||
/** | |||
* Indicates if the key expression has been declared but don't guarantee it's still in session. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add that it's not possible to get key expression string representation if it's declared and add a reference to zp_resolve
as a way to access this data. This will make clear why this function is needed and connect this function to two functions above
57807b2
to
f32cccd
Compare
Fixes issue #242