kaleidos / grails-postgresql-extensions

Grails plugin to use postgresql native elements such as arrays, hstores,...
Apache License 2.0
78 stars 63 forks source link

Does not respond Map field ? #112

Open abcfy2 opened 6 years ago

abcfy2 commented 6 years ago

Hi there. I find that respond will not show Map field.

Doamin:

class Data {
    Map data

    static mapping = {
        data type: JsonbMapType
    }
}

controller:

def show(Integer id) {
    respond Data.get(id)
}

Will not show data field as it's a Map field. What's wrong with me ?