postgresql-for-doctrine icon indicating copy to clipboard operation
postgresql-for-doctrine copied to clipboard

Change `Literal` usage to accept `InputParameter` types

Open TomBerriot opened this issue 2 years ago • 2 comments

The use of Literal was preventing usage of doctrine input parameters as :myQueryInputParameter

So to allow its use I changed Literals to StringPrimary accepting more diverse parameters including InputParameter and that seemed already well used in code base.

StringPrimary ::= StateFieldPathExpression | string | InputParameter | FunctionsReturningStrings | AggregateExpression | CaseExpression

Literal ::= string | char | integer | float | boolean

https://www.doctrine-project.org/projects/doctrine-orm/en/2.16/reference/dql-doctrine-query-language.html

TomBerriot avatar Sep 20 '23 11:09 TomBerriot

@TomBerriot, thanks for the contribution; however, CI is failing. Can you revise, please?

martin-georgiev avatar Oct 01 '23 21:10 martin-georgiev