zaid2130 opened a new issue, #14400:
URL: https://github.com/apache/grails-core/issues/14400

   Hey, I am using grails 3.1. In this version, by default mongo is using 
MongoCodecSession but I have convertd it to MongoSession for some reason. Now 
when I am saving my domain instance in mongodb, it is saving empty list as null 
values which causes problem is $push. Below is my saving code
   ```
   if(commit){
   instance.save(flush: true)
   instances.add(instance)
   }
   ```
   Any help?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to