We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05d32fb commit 411ccc8Copy full SHA for 411ccc8
examples/angular/src/app/schemas/hero.schema.ts
@@ -13,7 +13,8 @@ export const HERO_SCHEMA_LITERAL = {
13
properties: {
14
name: {
15
type: 'string',
16
- default: ''
+ default: '',
17
+ maxLength: 100
18
},
19
color: {
20
examples/angular/src/app/services/database.service.ts
@@ -94,7 +94,7 @@ async function loadRxDBPlugins(): Promise<void> {
94
// add dev-mode plugin
95
// which does many checks and add full error-messages
96
import('rxdb/plugins/dev-mode').then(
97
- module => addRxPlugin(module as any)
+ module => addRxPlugin(module.RxDBDevModePlugin)
98
)
99
]);
100
} else { }
0 commit comments