Skip to content
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

Create custom unmarshaller for orders #100

Merged
merged 2 commits into from
Apr 13, 2020
Merged

Conversation

gordcurrie
Copy link

  • We noticed an issue where some older orders were being sent
    with line items that had their properties field set an empty
    JSON object rather than the expected array. This was causing
    an error when attempting to unmarshal.

- We noticed an issue where some older orders were being sent
with line items that had their properties field set an empty
JSON object rather than the expected array. This was causing
an error when attempting to unmarshal.
@codecov
Copy link

codecov bot commented Apr 10, 2020

Codecov Report

Merging #100 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #100   +/-   ##
=======================================
  Coverage   99.84%   99.84%           
=======================================
  Files          32       32           
  Lines        1281     1306   +25     
=======================================
+ Hits         1279     1304   +25     
  Misses          1        1           
  Partials        1        1           
Impacted Files Coverage Δ
order.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c833331...2cd40ce. Read the comment docs.

markstgodard
markstgodard previously approved these changes Apr 13, 2020
Copy link

@markstgodard markstgodard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM @gordcurrie !

order_test.go Outdated Show resolved Hide resolved
@markstgodard markstgodard merged commit 2fe6b77 into master Apr 13, 2020
@oliver006 oliver006 deleted the gc/fix_old_orders branch March 22, 2023 03:06
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