-
Notifications
You must be signed in to change notification settings - Fork 0
inspection in function parameters #82
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 7 changed files in this pull request and generated 1 comment.
Files not reviewed (2)
- src/test/testData/src/main/resources/META-INF/doma/example/dao/DaoMethodVariableInspectionTestDao/noErrorWhenUsedInFunctionParameters.sql: Language not supported
- src/test/testData/src/main/resources/META-INF/doma/example/dao/EmployeeSummaryDao/bindVariableInFunctionParameters.sql: Language not supported
src/test/kotlin/org/domaframework/doma/intellij/inspection/sql/ParameterDefinedTest.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 7 changed files in this pull request and generated 1 comment.
Files not reviewed (2)
- src/test/testData/src/main/resources/META-INF/doma/example/dao/DaoMethodVariableInspectionTestDao/noErrorWhenUsedInFunctionParameters.sql: Language not supported
- src/test/testData/src/main/resources/META-INF/doma/example/dao/EmployeeSummaryDao/bindVariableInFunctionParameters.sql: Language not supported
src/test/kotlin/org/domaframework/doma/intellij/inspection/sql/ParameterDefinedTest.kt
Outdated
Show resolved
Hide resolved
179690d to
41b7e80
Compare
Co-authored-by: Copilot <[email protected]>
41b7e80 to
07b3113
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 7 changed files in this pull request and generated no comments.
Files not reviewed (2)
- src/test/testData/src/main/resources/META-INF/doma/example/dao/DaoMethodVariableInspectionTestDao/noErrorWhenUsedInFunctionParameters.sql: Language not supported
- src/test/testData/src/main/resources/META-INF/doma/example/dao/EmployeeSummaryDao/bindVariableInFunctionParameters.sql: Language not supported
Comments suppressed due to low confidence (1)
src/test/kotlin/org/domaframework/doma/intellij/inspection/sql/ParameterDefinedTest.kt:84
- The test for bindVariableInFunctionParameters seems to be incomplete as it does not invoke myFixture.testHighlighting. Consider adding a call to myFixture.testHighlighting to validate that the inspection works correctly for bind variable definitions in function parameters.
if (sqlFile == null) return
Add the bind variables within function parameters to the inspection that checks for bind variable definitions.