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

fix: CLOUD-1530 remove support for old controls format #222

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jason-snyk
Copy link
Contributor

This PR removes the code path that supported the old controls format. We only needed this backwards compatibility temporarily when we were migrating to the new controls format. This also fixes a bug where some newly-added rule result fields were not added to the custom unmarshal function and were missing in unmarshalled results.

For reference, the backwards compatibility code was added in #147

This PR removes the code path that supported the old controls format. We
only needed this backwards compatibility temporarily when we were migrating
to the new controls format. This also fixes a bug where some newly-added
rule result fields were not added to the custom unmarshal function and were
missing in unmarshalled results.
@jason-snyk jason-snyk marked this pull request as draft May 30, 2023 19:59
@jason-snyk
Copy link
Contributor Author

Moved to draft, because although we're no longer using the old controls format, there exists a lot of test data that contains the old format.

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.

1 participant