appwrite / sdk-generator

Generating SDKs for multiple programming languages and platforms ⚙️
https://appwrite.io
MIT License
274 stars 173 forks source link

Fix swift double optional #966

Closed abnegate closed 2 months ago

abnegate commented 2 months ago

What does this PR do?

Revert previous fixes for double optional, remove optional added by get type filter instead. Because the optional is not required when casting with as? this caused a build error when the declared type was not a double-optional.

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

Related PRs and Issues

(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you read the Contributing Guidelines on issues?

(Write your answer here.)