We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4bf8a8 commit c46c634Copy full SHA for c46c634
packages/schema-record/src/-private/record.ts
@@ -690,7 +690,9 @@ export class SchemaRecord {
690
);
691
692
if (DEBUG) {
693
- Object.defineProperty(proxy, '__SHOW_ME_THE_DATA_(debug mode only)__', {
+ Object.defineProperty(this, '__SHOW_ME_THE_DATA_(debug mode only)__', {
694
+ enumerable: false,
695
+ configurable: true,
696
get() {
697
const data: Record<string, unknown> = {};
698
for (const key of fields.keys()) {
packages/store/src/-private/record-arrays/identifier-array.ts
@@ -450,7 +450,9 @@ export class IdentifierArray<T = unknown> {
450
}) as IdentifierArray<T>;
451
452
453
454
455
456
457
return proxy.slice();
458
},
0 commit comments