The GitHub Actions job "CI" on 
grails-intellij-plugin.git/fix/data-service-interface-artefacts has failed.
Run started by GitHub user jdaugherty (triggered by jdaugherty).

Head commit for run:
7bef7c74acf803d79badc603309e9ac5448a5e8e / James Daugherty 
<[email protected]>
Recognise GORM data services declared as interfaces

A GORM data service is an interface (`@Service(Quest) interface
QuestService`) whose implementation GORM generates at compile time, but
every artefact lookup in GrailsArtifact accepted GrClassDefinition only.
The domain-class toolbar therefore said "Nothing here" under "Go To
Service" for the service `generate-all` had just written, the interface
itself got no toolbar, and the Spring bean discoverer skipped it, while a
service written as a class resolved fine.

GrailsArtifact now asks a single `isArtefactDefinition` rule, which
SERVICE overrides to admit GrInterfaceDefinition; getType, isInstance and
the instance cache all go through it, so interfaces under other artefact
directories remain unrecognised. The lookups return GrTypeDefinition, the
common supertype, and callers were widened accordingly. GrailsTestCase's
addService/addController accept interface and trait declarations so the
case can be exercised in light fixtures.

Reported in the Grails 8 talk at https://github.com/kousen/holygrails8.

Report URL: 
https://github.com/apache/grails-intellij-plugin/actions/runs/38258869727

With regards,
GitHub Actions via GitBox

Reply via email to