appwrite / sdk-generator

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

Fix model array subtypes #1003

Closed abnegate closed 2 weeks ago

abnegate commented 1 month ago

What does this PR do?

Currently response model classes don't use the nested type for list types. This PR fixes that.

E.g. for Kotlin Document.permissions is currently List<Any>, when it should be List<String>

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.)