Skip to content

Commit 60e6b96

Browse files
committed
updated PR for change og
1 parent ddd8617 commit 60e6b96

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,27 +124,27 @@ This document presents a list of changes that break existing functionality of pr
124124

125125
Changes from 1.0.3 -> 2.0.0 are listed below
126126

127-
1. Result object raw and getMap() properties:
127+
1. Result `raw` object and `getMap()` properties:
128128

129129
**What changed**
130-
- raw and getMap() has been deprecated.
130+
- `raw` and `getMap()` has been deprecated.
131131

132132
**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.
134134

135135
**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()`.
137137

138-
2. Result object message and isSuccessful boolean properties:
138+
2. Result object `message` and `isSuccessful` boolean properties:
139139

140140
**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.
142142

143143
**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.
145145

146146
**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.
148148

149149

150150
## URL generation

0 commit comments

Comments
 (0)