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

Make the streaming implementation configurable #731

Merged
merged 4 commits into from
Dec 31, 2019

Conversation

cb372
Copy link
Member

@cb372 cb372 commented Dec 31, 2019

Add a srcGenStreamingImplementation sbt setting to the idlgen plugin to control whether generated Scala code contains fs2.Stream or monix.reactive.Observable in RPC endpoint definitions. Defaults to FS2.

Also fixed the Avro code fences on the microsite while I was updating the documentation, as I noticed they were broken by the recent sbt-microsites upgrade.

Checklist

  • Reviewed the diff to look for typos, println and format errors.
  • Updated the docs accordingly.

Add a `srcGenStreamingImplementation` sbt setting to the idlgen plugin
to control whether generated Scala code contains `fs2.Stream` or
`monix.reactive.Observable` in RPC endpoint definitions.
@cb372
Copy link
Member Author

cb372 commented Dec 31, 2019

(working on updating the docs now)

avroidl is not supported as a language by highlightjs
@codecov
Copy link

codecov bot commented Dec 31, 2019

Codecov Report

Merging #731 into master will increase coverage by 0.25%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #731      +/-   ##
==========================================
+ Coverage   81.42%   81.67%   +0.25%     
==========================================
  Files          73       73              
  Lines        1168     1168              
  Branches       16       14       -2     
==========================================
+ Hits          951      954       +3     
+ Misses        217      214       -3
Impacted Files Coverage Δ
...ain/scala/higherkindness/mu/rpc/idlgen/Model.scala 80% <ø> (ø) ⬆️
...gherkindness/mu/rpc/idlgen/SrcGenApplication.scala 0% <ø> (ø) ⬆️
...ndness/mu/rpc/idlgen/proto/ProtoSrcGenerator.scala 96.15% <100%> (ø) ⬆️
...kindness/mu/rpc/idlgen/avro/AvroSrcGenerator.scala 75% <0%> (+5%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0dab667...2fd3d12. Read the comment docs.

Copy link
Member

@juanpedromoreno juanpedromoreno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@cb372 cb372 merged commit ef8aa95 into master Dec 31, 2019
@cb372 cb372 deleted the proto-srcgen-configurable-streaming branch December 31, 2019 12:23
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.

2 participants