Skip to content

Commit 845ca49

Browse files
committed
add clarity that the property is strongly typed
1 parent 197ba39 commit 845ca49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_posts/2024/2024-02-11-dropping-codegen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ But the kicker is that everything simply references the original string.
6868

6969
## Back to the validator
7070

71-
_Corvus.JsonSchema_ builds on this "backing data" pattern that `JsonElement` establishes. Instead of creating a backing field that is the same type that the property exposes, which is the traditional approach for backing fields, the generated code will use a `JsonElement`.
71+
_Corvus.JsonSchema_ builds on this "backing data" pattern that `JsonElement` establishes. Instead of creating a backing field that is the same type that the property exposes, which is the traditional approach for backing fields, the generated code will use a `JsonElement` for the backing field while the property is still strongly typed.
7272

7373
This means that a model generated by the library can usually be deserialized without any extra allocations, resulting in very high performance!
7474

0 commit comments

Comments
 (0)