We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f016ea commit 62be585Copy full SHA for 62be585
packages/hypergraph/src/entity/find-one-public.ts
@@ -269,9 +269,9 @@ const parseResult = <S extends Schema.Schema.AnyNoContext>(queryData: EntityQuer
269
return { ...decodeResult.right } as Entity.Entity<S>;
270
}
271
272
- if (process.env.NODE_ENV !== 'production') {
273
- console.warn('Invalid entity', rawEntity);
274
- }
+ // if (process.env.NODE_ENV !== 'production') {
+ console.warn('Invalid entity', rawEntity);
+ // }
275
throw new Error('Invalid entity');
276
};
277
0 commit comments