We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38db2b2 commit 57147f4Copy full SHA for 57147f4
src/entity/mixins/context_runtime.ts
@@ -29,8 +29,8 @@ export function RuntimeContextFieldMixin<T extends InMemoryEntityConstructor>(su
29
this.runtimeContext = Object.assign(this._runtimeContext, ctx);
30
}
31
32
- toJSON() {
33
- return { ...super.toJSON(), runtimeContext: this._runtimeContext };
+ toJSON(exclude: string[] = []) {
+ return { ...super.toJSON(exclude), runtimeContext: this._runtimeContext };
34
35
};
36
0 commit comments