mirror of
https://github.com/fluencelabs/jsonpath
synced 2025-06-20 11:26:36 +00:00
mark deprecated. Selector::value(RefValue) since 0.1.12
This commit is contained in:
@ -91,6 +91,7 @@ impl Selector {
|
||||
Ok(self)
|
||||
}
|
||||
|
||||
#[deprecated(since = "0.1.12", note = "Parameter type will be changed from `RefValue` to `&Value` since `0.1.12`")]
|
||||
pub fn value(&mut self, ref_value: RefValue) -> result::Result<&mut Self, String> {
|
||||
self.value = Some(ref_value.into());
|
||||
Ok(self)
|
||||
|
Reference in New Issue
Block a user