Open thekevinbrown opened 6 hours ago
Note: If anyone else is hitting this, you can work around it by:
import { DateScalar } from '@exogee/graphweaver-scalars';
Then update the field(s) in question to use () => DateScalar
as their type instead of () => Date
.
Describe the bug When I define an entity with a
Date
field, I get this error at runtime:To Reproduce Steps to reproduce the behavior:
Run import.
Observe on run.
Expected behavior Expected Date to be sanely translated to a scalar, or failing that, at least the imported code to work correctly.
Actual behavior Error