[quote]Was trying out some simple examples as in the release notes using the linkdef #pragma read syntax, but it didn’t seem to be taking effect. [/quote]What did you try?
But fTemperatureK is still zero when I read back objects from the old file.
This is also consistent with the less self contained test I had, where none of the schema evolution rules I attempted seemed to have any effect when reading back the old files.
Let me know if I am missing something, or if this is not supposed to work yet the way I am expecting!
Thank you for you example, I discovered the cause of the problem and will provide a fix shortly. As a work-around, you can use a different set of version numbers (i.e. 2 and 3 rather than 1 and 2).
Indeed this works as expected if I use class versions 2 and 3 instead of 1 and 2.
In case I wanted to use this feature on some existing files which had some classes written with version 1, is there any possible workaround other than moving to head?
Tried playing around with the source checksum in this example: