Is it still necessary to bind ISerializer to org.eclipse.xtext.serializer.impl.Serializer? #3330
-
Hi,
I am confused, it looks like after this commit, Could anyone shed some light on this, please? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
i fear nobody knows.... |
Beta Was this translation helpful? Give feedback.
I have actually called
serializer.getClass().getName()
after obtaining my serializer as explained above and without any manually-added binding in the runtime module, and the string I got is indeedorg.eclipse.xtext.serializer.impl.Serializer
. So I conclude that in "standard" Xtext use cases (where there is, e.g., a MyDSLRuntimeModule that extends AbstractMyDSLRuntimeModule that in turn extendsDefaultRuntimeModule
), no manual binding is needed. If a case exists, where theDefaultRuntimeModule
is used/extended without the presence of the generated Abstract*RuntimeModule, though, then in this case the old, deprecated Serializer implementation is used, asDefaultRuntimeModule
still binds the…