Skip to content

clean code#44

Merged
olsonkr merged 7 commits intoordercloud-api:developmentfrom
crhistianramirez:marketplace-buyer
Apr 21, 2017
Merged

clean code#44
olsonkr merged 7 commits intoordercloud-api:developmentfrom
crhistianramirez:marketplace-buyer

Conversation

@crhistianramirez
Copy link
Copy Markdown
Contributor

  • remove unnecessary product info get for each line item
  • fix unit tests for cart

Crhistian Ramirez added 6 commits April 21, 2017 07:59
product info is now a part of the line item object
so we don’t need to get the product info separately
this was causing on error on app-js task
Copy link
Copy Markdown
Contributor

@olsonkr olsonkr left a comment

Choose a reason for hiding this comment

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

Everything looks good. Since we don't need to get the Product data for a LineItem anymore, should we just remove that service method? I don't think it would be used/needed any where else, so we might as well remove the method at the same time we remove all of it's references.

no longer necessary as product info is stored
directly on line items
@olsonkr olsonkr merged commit 14aa81a into ordercloud-api:development Apr 21, 2017
crhistianramirez pushed a commit to culrich11/angular-buyer that referenced this pull request May 2, 2017
robertsoniv added a commit to robertsoniv/angular-buyer that referenced this pull request May 18, 2017
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.

3 participants