Skip to content

Commit 3ece9cb

Browse files
committed
.
1 parent 05b0bdc commit 3ece9cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

content/unroll-default-arguments.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ compatibility as new default parameters and fields are added over time.
3939

4040
1. New parameters need to have a default value
4141
2. New parameters can only be added on the right
42+
3. The `@unroll`ed methods must be abstract or final
4243

4344
These are both existing industry-wide standard when dealing with data and schema evolution
4445
(e.g. [Schema evolution in Avro, Protocol Buffers and Thrift — Martin Kleppmann’s blog](https://martin.kleppmann.com/2012/12/05/schema-evolution-in-avro-protocol-buffers-thrift.html)),

0 commit comments

Comments
 (0)