-
Notifications
You must be signed in to change notification settings - Fork 13
Serialiser_Engine: Add isUpgraded argument to DeprecateSerialiser and pass on bool #3056
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
Serialiser_Engine: Add isUpgraded argument to DeprecateSerialiser and pass on bool #3056
Conversation
Especially critical for the call to this made from the main Deserialise method when the type upgrader failed, as this was the mechanism able to cause an infinite loop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes made to the code make sense given the bug presented and am happy for this to be deployed for further testing.
@FraserGreenroyd to confirm, the following actions are now queued:
There are 16 requests in the queue ahead of you. |
The check |
The check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code changes makes sense.
Discussed a potential edge case with @IsakNaslundBh and am happy that all is working as it should be.
@BHoMBot check unit-tests |
@FraserGreenroyd to confirm, the following actions are now queued:
|
@BHoMBot check unit-tests |
@FraserGreenroyd to confirm, the following actions are now queued:
|
@BHoMBot check ready-to-merge |
@FraserGreenroyd to confirm, the following actions are now queued:
|
@BHoMBot check unit-tests |
@FraserGreenroyd to confirm, the following actions are now queued:
|
@BHoMBot check unit-tests |
@FraserGreenroyd to confirm, the following actions are now queued:
|
@BHoMBot this is a DevOps instruction. I am requesting neutral checks on: unit-tests |
@FraserGreenroyd I have provided neutral checks to the checks requested. These checks will need to be run properly to obtain full results. |
Issues addressed by this PR
Closes #3055
Add isUpgraded argument to DeprecateSerialiser and pass on bool
Especially critical for the call to this made from the main Deserialise method when the type upgrader failed, as this was the mechanism able to cause an infinite loop
Test files
CheckVerisoning should still pass.
Was trying to figure out a way to add a UT for this, but could not think of a simple case that is not to involved, as it require type upgrader to fail, but an explicit upgrader to run and return a faulty type.
Changelog
Additional comments