You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New version state machine designer uses JSON with style information that is great similar to the user-written JSON. However, the JSON file that old version (i.e., the one implemented in GGEditor) is in a very different form. The new version should be backward-compatible.
How it could be?
Extend SagaImporter to be backward-compatible.
Other related information
Please merge related PR to the refactor_designer branch.
The text was updated successfully, but these errors were encountered:
@ptyin I would like to work on this issue. Could you please assign it to me?
Sure. You can first shed some lights on it (how would you like to design and test), and then work on implementation.
My idea might be simpler. Add a converter function that checks whether the JSON is in the old version format. If so, convert it to the new version format.
And I want to know,how many versions before?Which version of Seata uses the old JSON format?
@ptyin I would like to work on this issue. Could you please assign it to me?
Sure. You can first shed some lights on it (how would you like to design and test), and then work on implementation.
My idea might be simpler. Add a converter function that checks whether the JSON is in the old version format. If so, convert it to the new version format. And I want to know,how many versions before?Which version of Seata uses the old JSON format?
There is a breaking change on the designer introduced by the following PR,
The old JSON format indicates the one before this PR. So what you should concern about is the one. You can checkout the 2.0.0 branch to see the older version,
Why you need it?
New version state machine designer uses JSON with style information that is great similar to the user-written JSON. However, the JSON file that old version (i.e., the one implemented in GGEditor) is in a very different form. The new version should be backward-compatible.
How it could be?
Extend
SagaImporter
to be backward-compatible.Other related information
Please merge related PR to the refactor_designer branch.
The text was updated successfully, but these errors were encountered: