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

Filter out private issues #1644

Merged
merged 4 commits into from
Jun 28, 2023
Merged

Filter out private issues #1644

merged 4 commits into from
Jun 28, 2023

Conversation

Onokaev
Copy link
Contributor

@Onokaev Onokaev commented Jun 27, 2023

Overview

Fixes #1643

Demo

Optional. Screenshots, curl examples, etc.

Notes

Optional. Ancillary topics, caveats, alternative strategies that didn't work out, anything else.

Testing Instructions

  • How to test this PR
  • Prefer bulleted description
  • Start after checking out this branch
  • Include any setup required, such as bundling scripts, restarting services, etc.
  • Include test case, and expected output

@Onokaev Onokaev requested a review from a team as a code owner June 27, 2023 21:19
@Onokaev Onokaev enabled auto-merge (squash) June 28, 2023 07:42
@sonarcloud
Copy link

sonarcloud bot commented Jun 28, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@@ -64,8 +64,8 @@ public record KnownIssue
/// <summary>
/// Determines if the Last Update is current compared to the Created date
/// </summary>
[JsonProperty(nameof(IsUpdated))]
public bool IsUpdated => LastUpdatedDateTime > CreatedDateTime;
[JsonProperty(nameof(IsDateUpdated))]
Copy link
Member

Choose a reason for hiding this comment

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

why would you want to serialize a computed property?

Copy link
Contributor Author

@Onokaev Onokaev Jun 28, 2023

Choose a reason for hiding this comment

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

I wanted the key to be PascalCased

@Onokaev Onokaev merged commit d65feee into dev Jun 28, 2023
9 checks passed
@Onokaev Onokaev deleted the fix/add-issue-visibility branch June 28, 2023 11:53
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.

Private known issues should be filtered out
2 participants