Issue summary
In Mongoid 9.0, when .refresh_token_if_expired! is called, error is raised "undefined method with_lock' for an instance of Shop (NoMethodError)". with_lock` seems to be a method in ActiveRecord but Mongoid doesn't implement ActiveRecord.
Before opening this issue, I have:
- [ x] Upgraded to the latest version of the package
shopify_app version: 23.0
- Ruby version: 3.3.6
- Operating system:
- [ x] Set
log_level: :debug in my configuration, if applicable
- [ x] Found a reliable way to reproduce the problem that indicates it's a problem with the package
- [x ] Looked for similar issues in this repository
- [x ] Checked that this isn't an issue with a Shopify API
Expected behavior
No error raised
What do you think should happen?
Actual behavior
What actually happens?
Steps to reproduce the problem
Debug logs
// Paste any relevant logs here
Issue summary
In Mongoid 9.0, when
.refresh_token_if_expired!is called, error is raised "undefined methodwith_lock' for an instance of Shop (NoMethodError)".with_lock` seems to be a method in ActiveRecord but Mongoid doesn't implement ActiveRecord.Before opening this issue, I have:
shopify_appversion: 23.0log_level: :debugin my configuration, if applicableExpected behavior
No error raised
What do you think should happen?
Actual behavior
What actually happens?
Steps to reproduce the problem
Debug logs