Skip to content

[Java] Add optional DtoEncoder interface support for Java DTOs - #1198

Draft
the-thing wants to merge 1 commit into
aeron-io:masterfrom
the-thing:dto-encoder-interace-and-encoding
Draft

the-thing wants to merge 1 commit into
aeron-io:masterfrom
the-thing:dto-encoder-interace-and-encoding

Conversation

@the-thing

Copy link
Copy Markdown
Contributor

Proposed implementation for #1023

  • methods are generated regardless of configuration, but interface org.agrona.sbe.MessageDtoEncoder requires sbe.java.generate.interfaces enabled flag
  • interface + instance methods generation happens only for top level DTOs
  • requires pulling the new encoder interface to Agrona's org.agrona.sbe package

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.

1 participant