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

getBy lost suggestions in v2.0.1 #105

Closed
Lumeriol opened this issue Jan 23, 2025 · 3 comments · Fixed by #106
Closed

getBy lost suggestions in v2.0.1 #105

Lumeriol opened this issue Jan 23, 2025 · 3 comments · Fixed by #106

Comments

@Lumeriol
Copy link

After updating the plugin to version 2.0.1, the suggestion of columns in the getBy method§s conditions field stopped working (Cannot find declaration to go to), and it is not possible to click on the property in the entity as with other methods (findBy, orderBy, ...)

The version of PhpStorm used is 2024.3.2, Orm and Dbal version 5.0

Image

Image

@hrach
Copy link
Member

hrach commented Jan 23, 2025

AFAIK it was not working in 2.0.0. Was it? But I see where I made a mistake.

@Lumeriol
Copy link
Author

In 2.0.0 everything was OK :)

Image

@hrach
Copy link
Member

hrach commented Jan 23, 2025

I see, the $this was a repository, right? It wasn't working in complex expressions like $repo->findBy()->findBy(...) or $entity->relationship->toCollection()->findBy(...)

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

Successfully merging a pull request may close this issue.

2 participants