Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing Depricated APIs #164

Merged
merged 6 commits into from Feb 23, 2021
Merged

Removing Depricated APIs #164

merged 6 commits into from Feb 23, 2021

Conversation

Drazail
Copy link
Contributor

@Drazail Drazail commented Feb 22, 2021

Removed depricated APIs

  • UnityWebRequest.result.isNetworkError
  • UnityWebRequest.result.isHttpError

Replaced with

  • UnityWebRequest.Result.ConnectionError
  • UnityWebRequest.Result.ProtocolError

Drazail and others added 3 commits February 22, 2021 19:54
Removed depricated APIs: `UnityWebRequest.result.isNetworkError` and `UnityWebRequest.result.isHttpError`
Replaced with : `UnityWebRequest.Result.ConnectionError` and  `UnityWebRequest.Result.ProtocolError`
adding back the missing code from commit f5c546d
@Drazail
Copy link
Contributor Author

Drazail commented Feb 22, 2021

Travis seems to build using an older versions of unity (ie: 2019.x), these changes aren't necessary unless you decide to support unity 2020+.

@jdnichollsc
Copy link
Member

jdnichollsc commented Feb 22, 2021

Can you use compilation conditionals to support previous versions too? e.g: https://github.com/proyecto26/RestClient/blob/develop/src/Proyecto26.RestClient/Helpers/RequestHelper.cs#L203

Added Compilations Conditionals as a means of backwards compatibility.
proyecto26#164 (comment)
Changed lineEndings from Mac to Windows format
@Drazail
Copy link
Contributor Author

Drazail commented Feb 23, 2021

Can you use compilations conditionals to support previous versions too? e.g: https://github.com/proyecto26/RestClient/blob/develop/src/Proyecto26.RestClient/Helpers/RequestHelper.cs#L203

Should pass the CI build test now.

@jdnichollsc jdnichollsc merged commit d5e3436 into proyecto26:develop Feb 23, 2021
@jdnichollsc
Copy link
Member

Thanks for your help mate!

@jdnichollsc jdnichollsc mentioned this pull request Dec 10, 2021
github-actions bot pushed a commit that referenced this pull request Dec 25, 2021
Added Compilations Conditionals as a means of backwards compatibility.
#164 (comment)
github-actions bot pushed a commit that referenced this pull request Dec 28, 2021
Added Compilations Conditionals as a means of backwards compatibility.
#164 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants