-
Notifications
You must be signed in to change notification settings - Fork 0
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
Dry up Common Fields #2
Comments
I suggest a third option and would like to know what you think about it. Let's consolidate the sub-type classes like you suggest for Video events and leave the redundancy as it is. (That way there are a lot fever files/sub-classes involved) |
If that's an appropriate level of validation for you still, I like that approach. As far as I can see we have no type collisions between properties of various kind of mobile events and such so that should work out fine. |
great. I think that this is also more flexible and re-usable for anyone wanting to use this lib. |
Closing here, will handle the remaining bits in #5 |
There is a lot of code duplication across all schemata coming from the common fields. Since we don't have inheritance in AVRO their code is currently duplicated across all other schemata.
{{common_fields}}
or so that we can put in anavsc
file and have Maven replace it with the common field code before compilation.CommonFields
that has all the common fields in it and put it at the top level of all the other schemata under a keycommon_fields
or so.The text was updated successfully, but these errors were encountered: