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

Implement parameter (placeholder) behavior. #4

Open
instabledesign opened this issue Jul 6, 2018 · 0 comments
Open

Implement parameter (placeholder) behavior. #4

instabledesign opened this issue Jul 6, 2018 · 0 comments

Comments

@instabledesign
Copy link
Collaborator

For the moment there is no functional difference between Lexer::T_STRING and Lexer::T_INPUT_PARAMETER (except the query syntax)

For example
http://localhost/?query={model{{Disco}}}

( ! ) Fatal error: Uncaught Doctrine\ORM\Query\QueryException: SELECT p FROM Example\Orm\Entity\Product p WHERE p.model LIKE Disco in /var/www/html/Xpression/vendor/doctrine/orm/lib/Doctrine/ORM/Query/QueryException.php on line 52

( ! ) Doctrine\ORM\Query\QueryException: [Syntax Error] line 0, col 62: Error: Expected '.' or '(', got 'Disco' in /var/www/html/Xpression/vendor/doctrine/orm/lib/Doctrine/ORM/Query/QueryException.php on line 52

Todo: Implement correctly the Lexer::T_INPUT_PARAMETER behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant