File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -695,7 +695,7 @@ All annotations are governed by [annotation processing](Annotations.md) rules.
6956951 . Adding classes or objects to sealed hierarchy is always safe.
6966961 . Changing name of an object or class in sealed hierarchy is safe as long as you annotate that class/object with ` @name `
697697 annotation to retain the old name in serialized format.
698- 1 . Lifting a case class into a sealed hierarchy is safe as long as the flat format is used for the sealed
698+ 1 . Lifting a case class into a sealed hierarchy is safe as long as the [ flat format] ( #flat-format ) is used for the sealed
699699 hierarchy and existing case class remains one of the cases in the sealed hierarchy, annotated as ` @defaultCase ` .
700700
701701Of course, the above rules are guaranteed to work only for macro-materialized codecs.
You can’t perform that action at this time.
0 commit comments