jdaugherty commented on PR #15683:
URL: https://github.com/apache/grails-core/pull/15683#issuecomment-4583105286

   Take a look at GrailsDataTckManager.   The following changes would also need 
to be done as part of this: 
   
               private List<Class> domainClasses = [
               ]
   
               /**
                * Returns an unmodifiable view of the domain classes list.
                * @return An unmodifiable list of domain classes
                */
               List<Class> getDomainClasses() {
                   return Collections.unmodifiableList(domainClasses)
               }
   
               /**
                * Adds all the specified classes to the domain classes list.
                * @param classes The classes to add
                */
               void addAllDomainClasses(Collection<Class> classes) {
                   domainClasses.addAll(classes)
               }
   
   
   There is also a lot more missing from this PR - all of the tests should add 
the domains they want at the start in setupSpec()


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to