Skip to content

Testing async cache server start#619

Open
hez wants to merge 7 commits intonextfrom
feature/async-cache-server-start
Open

Testing async cache server start#619
hez wants to merge 7 commits intonextfrom
feature/async-cache-server-start

Conversation

@hez
Copy link
Copy Markdown
Contributor

@hez hez commented Jul 24, 2025

No description provided.

hez and others added 6 commits July 24, 2025 08:52
- moved to using a body reader for validation
- ensure validation moved in to its own plug
- all the logic for settings assigns (shop, topic, etc) moved in to its own plug
- setup of the route for the webhooks should now happen in the router.ex
- handling and business logic for webhooks should now happen in a controller
This allows us to use the shopify app toml for creating the App struct
This uses the now commonly accepted pattern of passing down a scope to requests. The protocol defines how the data from the scope can be accessed. AuthToken has an implementation of the new protocol for backwards compatability reasons.
This greatly simplifies the most common use case, 1 shopify app to one phx app.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants