title: Grails 3.2.8 dependency injection in domain classes
body: <p>Grails 3.2.8 doesn't seem to have dependency injection working for domain classes by default.</p>
  
  <p>When I create a new app and add Spring Security Core 3.1.1 with the following println:</p>
  
  <pre><code>protected void encodePassword() {
      println "springSecurityService == null? ${(springSecurityService==null).toString()}"
      password = springSecurityService?.passwordEncoder ? springSecurityService.encodePassword(password) : password
  }
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>springSecurityService == null? true
  </code></pre>
  
  <p>If I try creating and injecting a service similarly, I get the same null value. Is there a good workaround?</p>