Commit 6ed5579 1 parent ad4b51a commit 6ed5579 Copy full SHA for 6ed5579
File tree 1 file changed +6
-0
lines changed
examples/angular2/app/src/services
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,19 @@ import RxDB from 'rxdb/plugins/core';
13
13
14
14
// import modules
15
15
import RxDBSchemaCheckModule from 'rxdb/plugins/schema-check' ;
16
+ import RxDBErrorMessagesModule from 'rxdb/plugins/error-messages' ;
17
+
16
18
if ( ENV === 'development' ) {
19
+ // in dev-mode we show full error-messages
20
+ RxDB . plugin ( RxDBErrorMessagesModule ) ;
21
+
17
22
// schema-checks should be used in dev-mode only
18
23
RxDB . plugin ( RxDBSchemaCheckModule ) ;
19
24
}
20
25
21
26
import RxDBValidateModule from 'rxdb/plugins/validate' ;
22
27
RxDB . plugin ( RxDBValidateModule ) ;
28
+
23
29
import RxDBLeaderElectionModule from 'rxdb/plugins/leader-election' ;
24
30
RxDB . plugin ( RxDBLeaderElectionModule ) ;
25
31
You can’t perform that action at this time.
0 commit comments