-
Notifications
You must be signed in to change notification settings - Fork 185
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
BIG-21201 fix Sku options #150
Conversation
I may need to increment a version for bigcommerce-api-php, do I? |
if you want it to be deployable in the app, yes. I'm also not sure you have the ability to tag new versions? I think only maybe Anthony & Matt can. Also, Travis is unhappy, and I don't think this is the right fix for this bug. You're removing functionality as well as code that will cause an error if executed, rather than fixing bug in a way that keeps the functionality |
@bc-bfenton I'll remove the failing test as well, as it's checking the removed code functionality. |
So what happens if we call $sku->option? do we get a list of SkuOption resources? |
@bc-bfenton It returns an Array of stdClass Objects |
I think if we can pull it off it should be an array of \Resource\SkuOptions objects, but if not then stdClass is better than broken |
I deleted cc @lord2800 |
Can you add the functional test you updated in SkuGetApiTest , with additional assert |
@bc-sandeep this must go to a separate PR, I thought you were writing this test. so after this PR is merged you'll be able to do |
Agree re: |
I'm good with that. Also we'll additionally have to tag a new release of the API client before |
Considering this is going to master for all existing customers . Would that be okI would rather see both both dev code and test code going together. Can i merge the updated test with additional asserts into your branch. |
Spoke offline. As the functional test I mentioned is in different repo, the one added in functional suite won't pass unless the steps done by Andrei are mentioned in above. So I will merge the tests in bc repo once after this merge happens. Looks good from my side to merge 💚 |
Hi @aleachjr! Could you merge this PR and set a version on it? :) |
These are the same changes made in this PR: which also includes small fixes to the Shipments class. |
related issue #92
cc @bc-joshroe @bc-sandeep @bc-bfenton