title: Why is an excerpt projection not applied automatically for a Spring Data REST item resource?
body: <p>I made a projection which should expose nested entities:</p>
  
  <pre><code>@Projection(name = "inlineBusiness", types = { UserModel.class })
  public interface InlineBusinessUserModelProjection {
  
      String getUsername();
  
      String getFirstName();
  
      String getLastName();
  
      Date getBirthdate();
  
      String getEmail();
  
      BusinessModel getBusiness();
  }
  </code></pre>
  
  <p>And the service repository:</p>
  
  <pre><code>@RepositoryRestResource(collectionResourceRel = "users", path = "users",
         excerptProjection = InlineBusinessUserModelProjection.class)
  public interface UserRepository extends BaseDAO&lt;UserModel&gt; {..}
  </code></pre>
  
  <p>for <code>/users</code> it works fine, the business field is exposed with nested entity, but when I call <code>/users/1</code>- nothing, also all the custom methods.. Seems like projection isn't involved on any methods except of <code>/users</code>
  Any ideas? </p>