Skip to content

Commit

Permalink
Adjust documentation for Blob type
Browse files Browse the repository at this point in the history
This change includes the information about
usage of nullable Blob field with default
value in the structure annotated as
'PositionalDefaults'.

Signed-off-by: Patryk Wrobel <183546751+pwrobeldev@users.noreply.github.com>
  • Loading branch information
pwrobeldev committed Dec 13, 2024
1 parent 15cc5bd commit f373e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/lime_attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ positional defaults constructor will be generated with a `@Deprecated` annotatio
specified.
> **Important:** if the constructor used for the default value is non-const, then the generated constructor will use
> optional value to prevent compilation error. However, this implies certain limitation for default values of nullable
> types, which do not provide const constructor (i.a. custom structures that are not annotated as `@Immutable`).
> types, which do not provide const constructor (i.a. Blob type or custom structures that are not annotated as `@Immutable`).
>
> If the field is nullable and its type does not provide const constructor then the only default value that is accepted
> can be null. If any other value is used then the generator will raise validation error.
Expand Down

0 comments on commit f373e7d

Please sign in to comment.