Skip to content

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

Draft
jason-snyk wants to merge 1 commit intomainfrom
chore/CLOUD-1530/remove-controls-compat-path
Draft

fix: CLOUD-1530 remove support for old controls format#222
jason-snyk wants to merge 1 commit intomainfrom
chore/CLOUD-1530/remove-controls-compat-path

Conversation

@jason-snyk
Copy link
Copy Markdown
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
Copy Markdown
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