> That was not easy to do with the current grammar hence the limitation. I
was hoping we would find a way to remove the limitation before 4GA hence it
possibly isn't mentioned yet in the documentation/release notes. The
working of how the compact constructor was "plumbed in" has changed
slightly -
Comments inline.
On Wed, Nov 10, 2021 at 1:17 AM Milles, Eric (TR Technology) <
eric.mil...@thomsonreuters.com> wrote:
> A couple questions regarding record types:
>
>
>
> record Person(String name, Date dob) {
>
> public Person {
>
> // ...
>
> }
>
> }
>
>
>
> 1) Was it by design to have
A couple questions regarding record types:
record Person(String name, Date dob) {
public Person {
// ...
}
}
1) Was it by design to have Person(String) and Person() constructors created
for the example above? I would prefer to see the canonical constructor and the
map constructor only.