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

NTBS-2074: Fix sentry warnings #1108

Merged
merged 7 commits into from
Mar 16, 2021
Merged

NTBS-2074: Fix sentry warnings #1108

merged 7 commits into from
Mar 16, 2021

Conversation

LeoCie
Copy link
Contributor

@LeoCie LeoCie commented Mar 10, 2021

Description

I have fixed 3 warnings/errors we were getting on sentry due to the .NET upgrade.
Our heartbeat code wasn't checking for null, which meant if we hadn't set a "latest activity time" it would throw an error when trying to compare it. I have set this to default to true.
I have added query splitting where I had missed it previously.
I have fixed a warning about using skip/take without ordering. This one is a sort of "bug" in .NET, where using query splitting results in needing an orderby. (link to issue: dotnet/efcore#23803).

Checklist:

  • Automated tests are passing locally.

@LeoCie LeoCie requested a review from JoshCadney March 10, 2021 17:35
Copy link
Contributor

@JoshCadney JoshCadney left a comment

Choose a reason for hiding this comment

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

One more question, sorry!

@LeoCie LeoCie merged commit 5ea83c1 into master Mar 16, 2021
@LeoCie LeoCie deleted the NTBS-2074 branch April 14, 2021 16:17
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.

2 participants