-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: make ruleRecord serializable (#1878)
Using `json.[Un]Marchal` is one way of serializing the data and the easiest one to start with. This change just does the ugly diff renaming everything to work with those marshalling methods. Do we want to rename any of these fields while we have to change them anyway? **What type of PR is this?** Other **What package or component does this PR mostly affect?** all **What does this PR do? Why is it needed?** Make the `ruleRecord` serializable to json in preparation for caching it.
- Loading branch information
Showing
1 changed file
with
30 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters