We started to receive webhook data including the new admin_graphql_api_id attribute today. This has a value of something akin to gid://shopify/Customer/61476333152.
The default WebhooksController is serializing the entire hash into the job request. When ActiveJob tries to deserialize the object, it's looking at these gid's and trying to deserialize them into ActiveRecord objects. Since these objects don't exist on our system, we get an ActiveJob::DeserializationError.
I think I can work around this by creating a custom WebhooksController that deletes all of the admin_graphql_api_id attributes, but I'd like to see a more long-term fix in shopify_app.
We started to receive webhook data including the new
admin_graphql_api_idattribute today. This has a value of something akin togid://shopify/Customer/61476333152.The default WebhooksController is serializing the entire hash into the job request. When ActiveJob tries to deserialize the object, it's looking at these gid's and trying to deserialize them into ActiveRecord objects. Since these objects don't exist on our system, we get an
ActiveJob::DeserializationError.I think I can work around this by creating a custom WebhooksController that deletes all of the
admin_graphql_api_idattributes, but I'd like to see a more long-term fix in shopify_app.