Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #181.
Summary of changes:
.avpr
format) for all message types and unary RPC types (no streaming RPCs currently, due to Avro limitations). TheidlGen
plugin generates both Protobuf and Avro IDLs.@outputPackage
annotation.namespace
attribute (default to""
representing the root package).package
declaration which will then be used by parsers in place of thejava_annotation
option if absent or not handled by the parsers's language.@outputName
annotation. If not defined, theidlGen
plugin will use the source filename (without extensions) instead.protocol
attribute.Option
parameters:null
.Option
is stripped out and the inner type is used (this fixes a possible regression in a previous PR).Empty
type:null
, or an empty arguments list if used as a request argument.Empty
type and adds the relevant import if present, to satisfy more rigorous parsers.@option
annotation: the value can be of any type (not justString
) and thequoted
attribute is removed;idlGen
will simply preserve quotes present or not in the Scala source file.@option
,@outputPackage
and@outputName
) support unnamed parameters (ex.:@option("java_multiple_files", true)
will now work). Internally, theScalaMetaUtil
class was updated to enable this.List
andOption
types, andFs2
serialization).README.md
examples with Avro examples, new@option
syntax and various fixes.