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

fix property autocompletion & reference contribution in findBy() methods #103

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

hrach
Copy link
Member

@hrach hrach commented Jan 22, 2025

Fixes autocompletion & reference contribution (ctrl+click) in findBy() methods in complex expressions.

image

@hrach hrach enabled auto-merge (squash) January 22, 2025 22:03
val repositories = classes.filter { cls -> OrmClass.REPOSITORY.`is`(cls, phpIndex) }
if (repositories.isNotEmpty()) {
entities.addAll(findRepositoryEntities(repositories))
val completedType = phpIndex.completeType(ref.project, ref.type, null)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This find this single call took me 1 hour :D

@hrach hrach merged commit 493cd8d into main Jan 22, 2025
3 checks passed
@hrach hrach deleted the resolution-in-findby-expression branch January 22, 2025 22:04
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 this pull request may close these issues.

1 participant