Closed kirillplatonov closed 2 months ago
Thanks for raising this, and for providing a clear repro scenario!
I'll add it to our tracking, and we'll look into it.
I can open a PR for that. But not sure if it will be enough to just fix resources in lib/shopify_api/rest/resources
folder or some hidden internal schema still needs to be fixed in Shopify? As I understand, resources will be re-generated during next Shopify bump and the schema for that is not open-sourced yet.
Thanks! We can fix it in the existing files so we don't have to re-generate them, and we'll make sure it gets propagated to future versions.
Issue summary
When trying to read
Shop#google_apps_login_enabled
attribute with boolean value we're getting an error:shopify_api
version: 14.4.0Expected behavior
Should get attribute value.
Actual behavior
Getting sorbet exception.
Steps to reproduce the problem
The following snippet can be used to reproduce the issue: