The createMembership method in the Appwrite Kotlin SDK now requires List<io.appwrite.enums.Roles> instead of List, but the predefined Roles enum only contains three values (ADMIN, DEVELOPER, OWNER), preventing the use of custom roles like "customer" which are essential for team-based applications.
Summary
Developers discussing that roles enum in Kotlin SDK has limitations after recent spec update. It's been resolved with a fix in progress. They also discussed an issue with code snippets in the documentation, identified the problem, and provided a pull request to address it. The ticket will be closed after the pull request is merged.
Yes, it been updated in last release by you, I don't why you have changed it, when i have updated to lastest version and suddenly it get the error for customer role in the team invitation