Skip to content

Commit 9bc887d

Browse files
CI: Tests are not run on pull requests (#618)
* Update CI pipeline * Fix compilation problem
1 parent fec735b commit 9bc887d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/gradle.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
distribution: 'adopt'
2222
java-version: '11'
2323
- name: Run Build
24-
if: github.event_name == 'push'
2524
id: build
2625
uses: gradle/gradle-build-action@v2
2726
env:

grails-datastore-gorm-neo4j/src/main/groovy/org/grails/datastore/gorm/neo4j/engine/Neo4jAssociationQueryExecutor.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class Neo4jAssociationQueryExecutor implements AssociationQueryExecutor<Serializ
5555
final boolean lazy
5656
final boolean singleResult
5757

58-
Neo4jAssociationQueryExecutor(Neo4jSession session, Association association, boolean lazy = association.mapping.mappedForm.isLazy(), boolean singleResult = false) {
58+
Neo4jAssociationQueryExecutor(Neo4jSession session, Association association, boolean lazy = (association.mapping.mappedForm as Property).isLazy(), boolean singleResult = false) {
5959
this.session = session
6060
PersistentEntity associatedEntity = association.associatedEntity
6161
if(associatedEntity != null) {

0 commit comments

Comments
 (0)