Skip to content

Refacto/cleanup#1

Open
Arnauld wants to merge 25 commits intoedouard-gv:masterfrom
Arnauld:refacto/cleanup
Open

Refacto/cleanup#1
Arnauld wants to merge 25 commits intoedouard-gv:masterfrom
Arnauld:refacto/cleanup

Conversation

@Arnauld
Copy link

@Arnauld Arnauld commented Mar 28, 2019

  • Minors adjustements
  • rework transaction management : in absence of usecase/controller, services have to handle the transactions... concern has been by-passed by annotating stepdefs directly 👎; it requires services to be managed by spring 🤢

public List<CartLine> getLines(CartId cartId) {
return findOrFail(cartId).getLines();
// return a copy to load content
return new ArrayList<>(findOrFail(cartId).getLines());
Copy link
Author

Choose a reason for hiding this comment

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

This is ugly... thanks to hibernate and lazy load

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.

1 participant