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

Hash confusion with API objects #316

Open
tamoyal opened this issue Jul 18, 2024 · 1 comment
Open

Hash confusion with API objects #316

tamoyal opened this issue Jul 18, 2024 · 1 comment
Labels
deprecated Deprecated APIs

Comments

@tamoyal
Copy link

tamoyal commented Jul 18, 2024

This seems like odd behavior to me:

irb(main):023> u.is_a?(WorkOS::DirectoryUser)
=> true
irb(main):024> u.to_hash.is_a?(WorkOS::DirectoryUser)
=> true
@PaulAsjes PaulAsjes added the deprecated Deprecated APIs label Jul 22, 2024
@PaulAsjes
Copy link
Contributor

Thanks, we're working towards completing this deprecation to no longer have classes inherit from Hash. Once that work is completed we'll release a new major version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecated Deprecated APIs
Development

No branches or pull requests

2 participants