Question about feature scope of the Dart module #3461
yash-agarwa-l
started this conversation in
General
Replies: 1 comment
-
|
Hi @yash-agarwa-l , For xlang serialization, we have no plans for serialize enum by name. But we can support serialize enum by its id instead of ordinal. If you are interested, you can starts from this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I've been exploring the Dart module and comparing it with the Java implementation to get a better cross-language understanding, specifically around serializers.
I noticed the Dart module seems to be missing some features that exist in Java. One example is enum serialization strategies like serializeEnumByName. From what I can tell, Dart currently only supports ordinal serialization and throws an exception if the limit is exceeded.
I wanted to ask, is the goal for Dart to eventually reach feature parity with Java, or is the simpler approach intentional?
If parity is something the project is moving toward, I'd love to help! I'm interested in improving enum serialization in the Dart module as a starting point, and potentially tackling other gaps as well.
Just wanted to check if this direction makes sense before diving in. Happy to hear any thoughts or guidance!
Thanks
Beta Was this translation helpful? Give feedback.
All reactions