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

[Java][Spring][Server] When java8 and interfaceOnly are true, generated interface default methods #8045

Open
inidona opened this issue Apr 19, 2018 · 1 comment

Comments

@inidona
Copy link
Contributor

inidona commented Apr 19, 2018

In issue #5895 is a discussion about generation default methods when parameter java8=true and interfaceOnly=true.
I don't understand the value of this default methods, it is clearer only generating a plain interface and have to implement this defined methods in my implementation.
There is imho no usecase to throw an not_implemented http code, a compile error in the projects is error enough.
@wing328 what do you think ?

@ralfhecktor
Copy link

I agree with @inidona. At least there should be a paramater to turn the generation of default implementations off.

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

No branches or pull requests

2 participants