-
Notifications
You must be signed in to change notification settings - Fork 24
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
[WIP] Courier key type #61
base: master
Are you sure you want to change the base?
Conversation
@@ -36,7 +36,8 @@ object Courier extends Build with OverridablePublishSettings { | |||
|
|||
override lazy val settings = super.settings ++ overridePublishSettings ++ | |||
Seq( | |||
organization := "org.coursera.courier") | |||
organization := "org.coursera.courier", | |||
isSnapshot := true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is important to ensure that all local changes are published for testing
@@ -469,9 +473,24 @@ private UnionDataSchema parseUnion( | |||
return schema; | |||
} | |||
|
|||
private RecordDataSchema parseRecord( | |||
private RecordDataSchema parseKey( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We likely have to copy RecordDataSchema
since it's final or decorate it with additional annotations so we don't erase type information of the new key
keyword. It's also one possible place we can add some validation to make sure the courier document conforms to spec
Sample code changes for supporting new ID type. There are quite a bit of work still missing namely: