Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Unreleased
----------
- [Patch] Fix sorbet errors in generated webhook handlers

23.0.1 (December 22, 2025)
- Fix engine initialization [#2040](https://github.com/Shopify/shopify_app/pull/2040)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
class AppUninstalledJob < ActiveJob::Base
include ShopifyAPI::Webhooks::WebhookHandler
extend ShopifyAPI::Webhooks::WebhookHandler

class << self
def handle(topic:, shop:, body:, webhook_id:, api_version:)
perform_later(topic: topic, shop_domain: shop, webhook: body)
end
def self.handle(topic:, shop:, body:, webhook_id:, api_version:)
perform_later(topic: topic, shop_domain: shop, webhook: body)
end

def perform(topic:, shop_domain:, webhook:)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
class CustomersDataRequestJob < ActiveJob::Base
include ShopifyAPI::Webhooks::WebhookHandler
extend ShopifyAPI::Webhooks::WebhookHandler

class << self
def handle(topic:, shop:, body:, webhook_id:, api_version:)
perform_later(topic: topic, shop_domain: shop, webhook: body)
end
def self.handle(topic:, shop:, body:, webhook_id:, api_version:)
perform_later(topic: topic, shop_domain: shop, webhook: body)
end

def perform(topic:, shop_domain:, webhook:)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
class CustomersRedactJob < ActiveJob::Base
include ShopifyAPI::Webhooks::WebhookHandler
extend ShopifyAPI::Webhooks::WebhookHandler

class << self
def handle(topic:, shop:, body:, webhook_id:, api_version:)
perform_later(topic: topic, shop_domain: shop, webhook: body)
end
def self.handle(topic:, shop:, body:, webhook_id:, api_version:)
perform_later(topic: topic, shop_domain: shop, webhook: body)
end

def perform(topic:, shop_domain:, webhook:)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
class ShopRedactJob < ActiveJob::Base
include ShopifyAPI::Webhooks::WebhookHandler
extend ShopifyAPI::Webhooks::WebhookHandler

class << self
def handle(topic:, shop:, body:, webhook_id:, api_version:)
perform_later(topic: topic, shop_domain: shop, webhook: body)
end
def self.handle(topic:, shop:, body:, webhook_id:, api_version:)
perform_later(topic: topic, shop_domain: shop, webhook: body)
end

def perform(topic:, shop_domain:, webhook:)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
class <%= @job_class_name %> < ActiveJob::Base
include ShopifyAPI::Webhooks::WebhookHandler
extend ShopifyAPI::Webhooks::WebhookHandler

class << self
def handle(topic:, shop:, body:, webhook_id:, api_version:)
perform_later(topic: topic, shop_domain: shop, webhook: body)
end
def self.handle(topic:, shop:, body:, webhook_id:, api_version:)
perform_later(topic: topic, shop_domain: shop, webhook: body)
end

def perform(topic:, shop_domain:, webhook:)
Expand Down