Skip to content

Commit

Permalink
Removing @repository annotation from Mongo repo, causing issues with …
Browse files Browse the repository at this point in the history
…latest Boot release
  • Loading branch information
hoserdude committed Nov 26, 2014
1 parent c16c749 commit 67b277a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@

import com.hoserdude.toboot.document.Todo;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* Magic interface to communicate with MongoDB.
*/
@Repository
public interface TodoRepository extends MongoRepository<Todo, String> {
Todo findByUserIdAndId(String userId, String id);
List<Todo> findByUserId(String userId);
Expand Down

0 comments on commit 67b277a

Please sign in to comment.