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

Code Generation from Proto definitions #379

Closed
AdrianRaFo opened this issue Aug 8, 2018 · 4 comments
Closed

Code Generation from Proto definitions #379

AdrianRaFo opened this issue Aug 8, 2018 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@AdrianRaFo
Copy link
Contributor

AdrianRaFo commented Aug 8, 2018

I'm trying to create Scala files from proto definitions but I'm getting this error:

Unknown IDL type 'proto'. Valid values: avro

My settings:

idlType := "proto",
srcGenSerializationType := "Protobuf",
srcGenTargetDir := (Compile / sourceManaged).value / "compiled_proto",
sourceGenerators in Compile += (srcGen in Compile).taskValue,
@AdrianRaFo AdrianRaFo added bug Something isn't working proto labels Aug 8, 2018
@juanpedromoreno
Copy link
Member

Sadly, frees-rpc currently doesn't support code generation from proto files.

@juanpedromoreno juanpedromoreno removed the bug Something isn't working label Aug 8, 2018
@juanpedromoreno juanpedromoreno changed the title Proto is not a valid IDL type Code Generation from Proto definitions Aug 8, 2018
@juanpedromoreno juanpedromoreno added enhancement New feature or request help wanted Extra attention is needed labels Aug 8, 2018
@AdrianRaFo
Copy link
Contributor Author

Then the description is wrong

lazy val idlType: SettingKey[String] =
      settingKey[String]("The IDL type to work with, such as avro or proto")

@AdrianRaFo
Copy link
Contributor Author

AdrianRaFo commented Nov 11, 2018

it should be possible now with this https://github.com/AdrianRaFo/proton

@L-Lavigne
Copy link
Contributor

This is currently being implemented in Skeuomorph, and will be integrated into the Mu source-gen sbt plugin.

Tracked at: higherkindness/skeuomorph#30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants