Skip to content
This repository was archived by the owner on Mar 26, 2020. It is now read-only.

Change djinni's generated Java files to use interfaces#406

Open
ggdabuh wants to merge 1 commit into
dropbox:masterfrom
ggdabuh:master
Open

Change djinni's generated Java files to use interfaces#406
ggdabuh wants to merge 1 commit into
dropbox:masterfrom
ggdabuh:master

Conversation

@ggdabuh

@ggdabuh ggdabuh commented Sep 19, 2018

Copy link
Copy Markdown

This pull request is related to #390.
The idea is to use interfaces rather that classes as, anyway, the marshaling layer is ready for that.
This is a breaking change since users will need to update their overrides.

@artwyman

Copy link
Copy Markdown
Contributor

To be clear for readers, is about using abstract interfaces for generated container types like list and map when used in records, arguments, and returns. This isn't about what Djinni calls interfaces.

A few procedural things:

  • You should re-generate the test suite and example code so we can see how your generator change affects the generated code for these examples. You should also ensure the test suite passes (if you can make all from the root of the repo you're all set).
  • This would be a breaking change for existing users, so I think it needs to be exposed as a configurable feature via command-line, not a default behavior change

@xianwen

xianwen commented Dec 26, 2018

Copy link
Copy Markdown

Hi, @ggdabuh:
I noticed you haven't signed the CLA yet, could you please sign it here: https://opensource.dropbox.com/cla/
Thanks a lot!

@artwyman artwyman self-assigned this Apr 9, 2019
@artwyman

artwyman commented Apr 9, 2019

Copy link
Copy Markdown
Contributor

This repo isn't going to be adding any new features so I'm putting this PR on hold.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants