This is an automated email from the ASF dual-hosted git repository.

borinquenkid pushed a commit to branch 9.0.x-remove-h5
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit ad2d5b8e7c6b5fa7d0330b96eaf63fd84afac087
Author: Walter Duque de Estrada <[email protected]>
AuthorDate: Sat Oct 10 22:33:32 2026 -0500

    test(graphql): type the home location map of the docs app on Hibernate 7
    
    An untyped Map property has no element type, and Hibernate 7 cannot choose 
a column type
    for its java.lang.Object elements, so the docs app failed to start now that 
it runs on
    Hibernate 7. Declaring it as Map<String, String> gives the element a type.
    
    Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
---
 .../graphql/grails-docs-app/grails-app/domain/demo/Author.groovy        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/grails-test-examples/graphql/grails-docs-app/grails-app/domain/demo/Author.groovy
 
b/grails-test-examples/graphql/grails-docs-app/grails-app/domain/demo/Author.groovy
index 5e67121696..a46adae288 100644
--- 
a/grails-test-examples/graphql/grails-docs-app/grails-app/domain/demo/Author.groovy
+++ 
b/grails-test-examples/graphql/grails-docs-app/grails-app/domain/demo/Author.groovy
@@ -26,7 +26,7 @@ class Author {
     String name
 
     // tag::locationDefinition[]
-    Map homeLocation
+    Map<String, String> homeLocation
     // end::locationDefinition[]
 
     // tag::associationDefinition[]

Reply via email to