-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session storage #8
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of question and nitpicks but looks good!!
.env.testing
Outdated
SHOPIFY_API_KEY=test-api-key | ||
SHOPIFY_API_SECRET_KEY=test-secret-key | ||
SCOPES=read_products,write_products | ||
HOST_NAME=www.app-host-name.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we change this to something like www.testshop.myshopify.com
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also this should probably not have a www.
prefix as we generally do not use it across our libraries or documentation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is the app host-name not the shop host-name 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ohhh I see! Maybe we can even do something like
HOST_NAME=12345asdf.ngrok.io
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Paulina's got your back on the few things I noticed.
.env.testing
Outdated
SHOPIFY_API_KEY=test-api-key | ||
SHOPIFY_API_SECRET_KEY=test-secret-key | ||
SCOPES=read_products,write_products | ||
HOST_NAME=www.app-host-name.com |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also this should probably not have a www.
prefix as we generally do not use it across our libraries or documentation
Thank you for the review @tanema |
08b70a6
to
95abf78
Compare
WHY are these changes introduced?
Create a database-based
SessionStorage
class and use that to set upContext
.WHAT is this pull request doing?
.env.test
Session
model with database migratoinsDbSessionStorage
wrapper aroundSession
modelContext