The GitHub Actions job "CI" on 
grails-core.git/feat/data-service-datasource-inheritance has failed.
Run started by GitHub user jamesfredley (triggered by jamesfredley).

Head commit for run:
19e84793677b55a82a4a1a553eda8f93c2734e69 / James Fredley 
<[email protected]>
feat: auto-inherit datasource from domain class in @Service data services

@Service(DomainClass) now automatically inherits the datasource from
the domain class's mapping block, so developers no longer need to
specify @Transactional(connection = '...') when the domain already
declares its datasource. Explicit @Transactional(connection) on the
service still takes precedence.

Two-layer implementation:
- AST (ServiceTransformation): parses the domain's static mapping
  closure for datasource/connection calls and propagates to the
  generated service impl via @Transactional(connection)
- Runtime (DatastoreServiceMethodInvokingFactoryBean): resolves the
  domain's datasource from the mapping context and sets the correct
  datastore on the service instance

Assisted-by: Claude Code <[email protected]>

Report URL: https://github.com/apache/grails-core/actions/runs/22266244312

With regards,
GitHub Actions via GitBox

Reply via email to