-
Notifications
You must be signed in to change notification settings - Fork 699
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
Fix bug for SessionStorage#with_shopify_session #1488
Merged
nelsonwittwer
merged 11 commits into
Shopify:main
from
m11o:feature/fix-bug-for-with_shopify_session-in-session_storage
Apr 13, 2023
Merged
Fix bug for SessionStorage#with_shopify_session #1488
nelsonwittwer
merged 11 commits into
Shopify:main
from
m11o:feature/fix-bug-for-with_shopify_session-in-session_storage
Apr 13, 2023
+31
−3
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I've signed the CLA! |
m11o
changed the title
Fix bug for ShopifyApp::SessionStorage#with_shopify_session
Fix bug for SessionStorage#with_shopify_session
Aug 16, 2022
Would be awesome to get this merged! |
Is this any closer to being merged? Could really use it in our app code that we're trying to upgrade. |
🤦 This sat open for way too long. This is the correct fix, thank you for providing it @m11o !! ❤️ |
nelsonwittwer
approved these changes
Apr 13, 2023
m11o
deleted the
feature/fix-bug-for-with_shopify_session-in-session_storage
branch
April 13, 2023 23:03
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does
ShopifyApp::SessionStorage#with_shopify_session
is given proc instance in block argument now. But, it should call block and be supplied session instance (ShopifyAPI::Auth::Session) to block. So I modified it and wrote test.How to use
Reviewer's guide to testing
Run following
Things to focus on
Checklist
Before submitting the PR, please consider if any of the following are needed:
CHANGELOG.md
if the changes would impact usersREADME.md
, if appropriate./docs
, if necessary