DarrenBaldwin07 / clerk-rs

An unofficial Rust SDK for Clerk.dev

Home Page:https://crates.io/crates/clerk-rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deserializing error when using get_user_list function

Jayko001 opened this issue · comments

The function get_user_list returns <Veccrate::models::User as seen here.
This is the User struct - https://docs.rs/clerk-rs/latest/clerk_rs/models/user/struct.User.html
However in clerk backend documentation, this is the response schema.
On comparison, i found that the User struct in clerk_rs does not have the following fields

  • image_url
  • has_image
  • primary_web3_wallet_id
  • saml_accounts
  • delete_self_enabled
  • create_organization_enabled

Looks like we need to bring our openAPI spec back into sync with Clerk's - adding this to the next release but also open to PRs :)