Repository navigation
Should serialized validators include a format version for compatibility across releases? #132
Closed
Kaileshwar16
started this conversation in
General
Replies: 1 comment
|
Theoretically, there could be a change that would require a version check, but it hasn't happened yet and I don't expect it to ever change. So, I'd rather not worry about it until it becomes necessary. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey, I was looking through the compiled validator serialization code and noticed that the serialized output doesn't seem to include any version information.
I was wondering what happens if someone stores compiled validators in a cache and then upgrades Hyperjump. Would validators serialized with an older version still work, or could changes to the internal format cause issues when restoring them?
Would it make sense to include a simple format version so the library can detect incompatible cached validators instead of trying to restore them?
Not sure if this is something already considered or if compatibility across versions is even intended here. Just thought it was worth bringing up.
All reactions