Jordan Zimmerman

Results 93 comments of Jordan Zimmerman

I'm having second thoughts about adding support for this. I was looking at how Immutables does it: https://immutables.github.io/immutable.html#default-attributes and an implementation occurred to me. What if we allow annotated constants...

Folks, please comment/review https://github.com/Randgalt/record-builder/pull/163

@agentgt I don't believe there's an equivalent mapping here. Immutables generates the target class and can take advantage of that to set values post creation in order to call these...

@agentgt Records are used mostly as data carriers/models for DB tables, REST APIs, etc. Would people really need a standard library of default values? If I have a `PersonRecord` and...

There are two things, then, here. We could add the `mixin` option so that the builder implements interfaces. Then, have a way for methods/fields on those interfaces to work as...

FYI - I've updated #163 so that an optional `source` class can be specified allowing the initializers to be in a separate class. @agentgt feel free to open a new...

> Are there any annotation similar to lomboks `NonNull` which adds `Objects.requireNonNull()` or similar? I played around with some ideas but they all required bytecode modifications and I'd like to...

@yurybubnov when I get time I can enhance this to make it optional, etc. Or maybe you can do it if you can.

tbh - I'm not sure what to do about this. A few bad commits got into RecordBuilder. Thankfully, they're behind options but they are there nonetheless. There's a new PR...

@KangoV can you make a new PR with it behind an option?