Allow the version to be set during DiffX construction.
Review Request #11761 — Created July 31, 2021 and submitted — Latest diff uploaded
The
DiffX
object now allows theversion
option to be set. This is
important for consumers that need to construct this object based on
existing data.Only supported versions can be set. Unsupported versions will result in
an error.
Unit tests pass.
Ran into this with Review Board's implementation. Verified this fixed
the object construction.