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

chore(ms-config): replace fake json comments with C-style comments #287

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

mikix
Copy link
Contributor

@mikix mikix commented Nov 10, 2023

Turns out that the MS Anonymizer tool actually does support json comments, using C-style /* */ and // syntax.

I really thought I had tested that at some point.

So this commit just converts all the fake {"comment": "my text"} lines into real comments. And adds a comment for every field skipped (i.e. adds a comment for every field you wouldn't otherwise see because we use an allow-list)

No functionality changes. (Except de-id might be faster now that it has less fake rules to attempt to apply.)

Checklist

  • Consider if documentation (like in docs/) needs to be updated
  • Consider if tests should be added

Turns out that the MS Anonymizer tool actually does support json
comments, using C-style /* */ and // syntax.

I really thought I had tested that at some point.

So this commit just converts all the fake {"comment": "my text"} lines
into real comments. And adds a comment for every field skipped (i.e.
adds a comment for every field you wouldn't otherwise see because we
use an allow-list)

No functionality changes. (Except de-id might be faster now that it has
less fake rules to attempt to apply.)
@mikix mikix merged commit f73e599 into main Nov 10, 2023
2 checks passed
@mikix mikix deleted the mikix/ms-config-comments branch November 10, 2023 14:29
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