Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set defaults or aliases on DataMembers #6

Open
jcooper1982 opened this issue May 19, 2018 · 1 comment
Open

Unable to set defaults or aliases on DataMembers #6

jcooper1982 opened this issue May 19, 2018 · 1 comment

Comments

@jcooper1982
Copy link

In order to truly support schema evolution when using reflection for serialization we need to be able to somehow attribute default values and aliases to DataMembers. Don't see any implementation or tests that suggest that this is currently supported.

@ahilis
Copy link

ahilis commented Jun 8, 2018

Same thing with "doc" attribute.
I found that:

  1. ReflectionSchemaBuilder always pass null inside the RecordField instead of default value (line 466)
  2. Doc property is always sets to empty string inside MemberSerializationInfo constructor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants