Skip to content

Conversation

@kchen-coursera
Copy link

@kchen-coursera kchen-coursera commented Apr 25, 2017

Sample code changes for supporting new ID type. There are quite a bit of work still missing namely:

  • codegen
  • plugin changes to support this
  • key type annotation support
  • fixtures
  • tests

Seq(
organization := "org.coursera.courier")
organization := "org.coursera.courier",
isSnapshot := true)
Copy link
Author

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

}

private RecordDataSchema parseRecord(
private RecordDataSchema parseKey(
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants