Where to put linkTo method in Spring?

1 day ago 3
ARTICLE AD BOX

Best practices

I was having a discussion, where one dev-A said that linkTo should be linked directly in the controller (links that point to the controller itself), the others in the assembler, and dev-B said that he would have to put all the link logic in an Assembler class. Which dev is correct?

Read Entire Article