-
Notifications
You must be signed in to change notification settings - Fork 1
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
New codegeneration annotations #1
Comments
also maybe it would be good if we have factory-function generation to hide mutable / immutable realization where type clarifying is not necessary. I mean next: @FactoryFunctionImpl
@ImmutableImpl
interface Foo {
val value: String
} will generate next: fun Foo(value: String): Foo = ImmutableFoo(value) |
Nice ideas, especially with DSLs, I'm really interested in. So can you propose how the DSLs generation may look like? The cases I want to be covered:
|
The most complex thing here is how to design validators.
|
I moved data validation discussion to a new issue #2 |
I think it will be necessary to create something like
@DSLImpl
and simple java-styled builder@BuilderImpl
codegenerations.The text was updated successfully, but these errors were encountered: