miguel bautista

Results 6 comments of miguel bautista

the problem is this class: MongoExtensions if I do this the code works: ``` api('org.grails.plugins:mongodb:7.1.0') { exclude module: "grails-datastore-gorm-mongodb-ext" } ```

[TestAggregate.zip](https://github.com/grails/gorm-mongodb/files/7466712/TestAggregate.zip) @puneetbehl created a simple project

adding .collect { it.toBsonDocument() } now it works: collection.aggregate( Arrays.asList( Aggregates.match(Filters.eq("categories", "Bakery")), Aggregates.group('$stars', Accumulators.sum("count", 1)) ).collect { it.toBsonDocument() } ) I discovered that last night while migrating the queries from...

I have the same problem. I have domain A that hasMany B (B with unique constraint). when updating A it fails cause is complaining about unique constraint in B.

[logger.txt](https://github.com/grails/grails-database-migration/files/7907701/logger.txt)

@davidkron Please test with the new version (4.1.0) I have the same error. in my case if I do this it works: implementation('org.grails.plugins:database-migration:4.1.0') { exclude module: 'spring-boot-cli' }