EAttribute serialized as Element not attribute (override?) [message #1758502] |
Wed, 29 March 2017 07:49  |
Eclipse User |
|
|
|
Hi.
We have an attribute called "text" it's an EString. (Used by xtext)
When its serialized (XML) to the model it's saved as an attribute of the object.
Is it possible to make it serialize to an element instead?
The thing is that our models are persisted with git.
So if you look on Github it's not easy to see what "line" changed;
Because the attribute will format to one line.
Where if it were persisted as an element it easier to see because it would be able to be persisted as multiline.
(it works fine now, it more a matter of preference, and transparency when comparing models on Github )
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04356 seconds