-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[pm-5966] Fix Entity Framework query for MySQL #5170
Conversation
src/Infrastructure.EntityFramework/Repositories/OrganizationDomainRepository.cs
Outdated
Show resolved
Hide resolved
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5170 +/- ##
==========================================
+ Coverage 43.34% 43.69% +0.34%
==========================================
Files 1458 1469 +11
Lines 66517 67870 +1353
Branches 6081 6148 +67
==========================================
+ Hits 28835 29658 +823
- Misses 36390 36919 +529
- Partials 1292 1293 +1 ☔ View full report in Codecov by Sentry. |
New Issues
Fixed Issues
|
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.
It looks good to me but it would be ideal to have the integration test
src/Infrastructure.EntityFramework/Repositories/OrganizationDomainRepository.cs
Outdated
Show resolved
Hide resolved
Looks like this should resolve #3722. Funny to see it resolved because of a compilation issue vs. the longstanding pre-existing issue. |
...nfrastructure.IntegrationTest/AdminConsole/Repositories/OrganizationDomainRepositoryTests.cs
Outdated
Show resolved
Hide resolved
- Replace incorrect models to simplify compatibility with the stored proc. - Fix logic issues and update tests to ensure consistency between stored proc and Entity Framework.
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-5966
📔 Objective
Problem: The Entity Framework query was causing a compile-time error.
Changes:
📸 Screenshots
Manual testing
Generated SQL query.
With results
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes