diff options
author | bob <bcz@cs.brown.edu> | 2019-04-30 09:27:24 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-04-30 09:27:24 -0400 |
commit | 6b116d69a5b1a991c7aa00e2b23af3f8db7c7d77 (patch) | |
tree | 82dfd495b11f2d7ea2d9693c572f0f6a9f8c082f /src/fields/Document.ts | |
parent | e4a081e7c17b880c5376d0090c13f0d9153b5dca (diff) |
fixed schema column default/persistence
Diffstat (limited to 'src/fields/Document.ts')
-rw-r--r-- | src/fields/Document.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Document.ts b/src/fields/Document.ts index 2797efc09..55ac731dd 100644 --- a/src/fields/Document.ts +++ b/src/fields/Document.ts @@ -204,7 +204,7 @@ export class Document extends Field { callback: (field: T) => void ): void { //This currently doesn't deal with prototypes - if (this._proxies.has(key.Id)) { + if (this._proxies.has(key.Id) || this.fields.has(key.Id)) { Server.GetDocumentField(this, key, field => { if (field && field instanceof ctor) { callback(field); |