doctrine / orm

Doctrine Object Relational Mapper (ORM)
https://www.doctrine-project.org/projects/orm.html
MIT License
9.93k stars 2.51k forks source link

Suggest solutions for semantical errors in Parser #7924

Open Steveb-p opened 4 years ago

Steveb-p commented 4 years ago
Q A
Version master

Following discussion on Slack, it would be nice if Parser could attempt to provide some common solutions/suggestions when encountering a semantical error. For example, when encountering unknown function, it could suggest that custom functions can be added to Doctrine configuration, maybe even linking to specific documentation).

lcobucci commented 4 years ago

This is a nice improvement that could be released in the 2.x series IMHO, easy to implement and would help people to have less friction in their software.