avaje / avaje-record-builder

Apache License 2.0
8 stars 1 forks source link

Builder uses Collections unmodifiable on collections ... as option or even on by default #16

Closed rbygrave closed 10 months ago

rbygrave commented 1 year ago

I'm thinking that "by default" collection types should be wrapped via e.g. Collections.unmodifiableList() and the like at build time.

The thinking is that a "record graph" should be as unmodifiable as possible. I'm actually thinking this should be the default with perhaps the option to turn it off.

SentryMan commented 1 year ago

I don't know about this one

SentryMan commented 10 months ago

it's been two months, if anybody else requests we can circle back I think.