Skip to content

Commit 79ba959

Browse files
#134: Updated readme.md
1 parent fbf4d86 commit 79ba959

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
## [6.3.0] - 2023-06-05
33
- Fixed the deprecated `ignore` field. Added
44
```
5-
includeFromJson: true
6-
includeToJson: true,
5+
includeFromJson: false
6+
includeToJson: false
77
```
88

99
## [6.2.1] - 2023-03-07

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,13 @@ UserModel:
323323
include_if_null: false #If this field is null, this field will not be added to your json object (used for PATCH models)
324324
type: String
325325
ignoreField:
326-
ignore: false #this field will not be final, and not be used in the json parsing
326+
ignore: false #This field is ignored in the to & from json methods
327+
type: String
328+
ignoreFieldOnlyInFrom:
329+
includeFromJson: false #This field is ignored in the from json method
330+
type: String
331+
ignoreFieldOnlyInTo:
332+
includeToJson: false #This field is ignored in the to json method
327333
type: String
328334
mutableField:
329335
non_final: true #Field will not be marked final

0 commit comments

Comments
 (0)