You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,27 +124,27 @@ This document presents a list of changes that break existing functionality of pr
124
124
125
125
Changes from 1.0.3 -> 2.0.0 are listed below
126
126
127
-
1. Result object rawand getMap() properties:
127
+
1. Result `raw` object and `getMap()` properties:
128
128
129
129
**What changed**
130
-
- raw and getMap() has been deprecated.
130
+
-`raw` and `getMap()` has been deprecated.
131
131
132
132
**Who is affected?**
133
-
- This affects any development that uses the raw or getMap() from response object of APIs that is Result object.
133
+
- This affects any development that uses the `raw` or `getMap()` from the response object of APIs and Result object.
134
134
135
135
**How should I update my code?**
136
-
- If you still need to use raw and getMap(), write it with using it with result's internal property such as result.getResponseMetaData().getRaw().
136
+
- If you still need to use `raw` and `getMap()`, do this `result.getResponseMetaData().getRaw()`.
137
137
138
-
2. Result object message and isSuccessful boolean properties:
138
+
2. Result object `message` and `isSuccessful` boolean properties:
139
139
140
140
**What changed**
141
-
- message and isSuccessful has been replaced with custom exceptions according to response code.
141
+
-`message` and `isSuccessful` have been replaced with custom exceptions according to response code.
142
142
143
143
**Who is affected?**
144
-
- This affects any development that uses the message or isSuccessful from response object of APIs that is Result object.
144
+
- This affects any development that uses the `message` or `isSuccessful` from response object of APIs that is Result object.
145
145
146
146
**How should I update my code?**
147
-
- If you still need to use message it will be there in custom exception and could be raised isSuccessful properties in your own code from status code which is coming in the response or custom exception.
147
+
- If you still need to use `message` it will be there in the custom exception and could be raised `isSuccessful` properties in your own code from status code with `httpStatusCode` that is coming in the responseMetaData with `getResponseMetaData()` of response object or custom exception.
0 commit comments