Enable $self or $this as special paramater names
This commit is contained in:
parent
073285574a
commit
5425d0b550
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ impl Param {
|
|||
match self.first() {
|
||||
// The first part will be a field
|
||||
Some(Part::Field(v)) => match v.as_str() {
|
||||
"this" => match doc {
|
||||
"this" | "self" => match doc {
|
||||
// The base document exists
|
||||
Some(v) => {
|
||||
// Get the path parts
|
||||
|
|
Loading…
Reference in a new issue