Support embeddables in partial object query expression [DDC-3621]
This commit is contained in:
parent
2fb11cdf05
commit
778ed04eac
@ -1784,8 +1784,16 @@ class Parser
|
||||
while ($this->lexer->isNextToken(Lexer::T_COMMA)) {
|
||||
$this->match(Lexer::T_COMMA);
|
||||
$this->match(Lexer::T_IDENTIFIER);
|
||||
|
||||
$partialFieldSet[] = $this->lexer->token['value'];
|
||||
|
||||
$field = $this->lexer->token['value'];
|
||||
|
||||
while ($this->lexer->isNextToken(Lexer::T_DOT)) {
|
||||
$this->match(Lexer::T_DOT);
|
||||
$this->match(Lexer::T_IDENTIFIER);
|
||||
$field .= '.'.$this->lexer->token['value'];
|
||||
}
|
||||
|
||||
$partialFieldSet[] = $field;
|
||||
}
|
||||
|
||||
$this->match(Lexer::T_CLOSE_CURLY_BRACE);
|
||||
|
Loading…
Reference in New Issue
Block a user