diff --git a/README.md b/README.md index a15029d8..24488af0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # angel_mongo -[![version 1.1.1](https://img.shields.io/badge/pub-1.1.1-brightgreen.svg)](https://pub.dartlang.org/packages/angel_mongo) +[![version 1.1.2](https://img.shields.io/badge/pub-1.1.2-brightgreen.svg)](https://pub.dartlang.org/packages/angel_mongo) [![build status](https://travis-ci.org/angel-dart/mongo.svg?branch=master)](https://travis-ci.org/angel-dart/mongo) MongoDB-enabled services for the Angel framework. diff --git a/lib/mongo_service_typed.dart b/lib/mongo_service_typed.dart index d1c2d00c..bed64368 100644 --- a/lib/mongo_service_typed.dart +++ b/lib/mongo_service_typed.dart @@ -1,8 +1,9 @@ part of angel_mongo.services; class MongoTypedService extends MongoService { - MongoTypedService(DbCollection collection, {bool debug}) - : super(collection, debug: debug == true) { + MongoTypedService(DbCollection collection, {bool allowRemoveAll, bool debug}) + : super(collection, + allowRemoveAll: allowRemoveAll == true, debug: debug == true) { if (!reflectType(T).isAssignableTo(reflectType(Model))) throw new Exception( "If you specify a type for MongoService, it must extend Model."); diff --git a/pubspec.yaml b/pubspec.yaml index e1b8d031..13d0215c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: angel_mongo -version: 1.1.1 +version: 1.1.2 description: MongoDB-enabled services for the Angel framework. author: Tobe O homepage: https://github.com/angel-dart/angel_mongo