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

SBT - Adds AvroWithSchema Support #233

Merged
merged 4 commits into from
Apr 10, 2018

Conversation

juanpedromoreno
Copy link
Member

@juanpedromoreno juanpedromoreno commented Apr 10, 2018

This PR adds support for AvroWithSchema serialization type, in the matter of IDL generation.

Before this PR, only Avro was supported. Now, using the new Sbt setting srcGenSerializationType, the users can specify if the RPC services will be serializing with Avro or AvroWithSchema (actually, AvroWithSchema was included as part of #215, in this PR we are just providing the ability to generate Scala Sources based on that serialization type).

  • Support for the new feature.
  • Unit tests.
  • Scripted tests.
  • Update docs.

@L-Lavigne
Copy link
Contributor

L-Lavigne commented Apr 10, 2018

Great work! We could also have re-used the existing idlType parameter to reduce some redundancy in the input, but this implementation works.

(Edit - discussed offline - current implementation has extensibility benefits, we're good to go)

@juanpedromoreno juanpedromoreno merged commit 7f34e98 into master Apr 10, 2018
@juanpedromoreno juanpedromoreno deleted the jp-sbt-adds-avro-with-schema-support branch April 10, 2018 17:33
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

Successfully merging this pull request may close these issues.

3 participants