adessoTurkey / ios-sample-app-swiftui

5 stars 0 forks source link

[SASU-0091] Delete unnecessary body property from RequestObject #112

Closed batuhanabay closed 1 year ago

batuhanabay commented 1 year ago

Description

RequestObject struct has data (Encodable) and body (Data) properties that have a same purpose. They correspond encoded and not encoded version of the httpBody property of the URLRequest so body property is deleted from RequestObject and data property is encoded inside prepareURLRequest method.

Related issue

Related to: #91

Explanation of changes

Please delete options that are not relevant.