-
-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
π Thanks for the great tool.
I've tried to visualize a medium-sized schema and "disperse nodes" function failed with Cannot read properties of undefined (reading 'length') here -
Line 66 in d0d9413
| acc[0] < curr.name.length ? curr.name.length : acc[0], |
If I update letters[i]! to something like letters[i] || "" it solves the problem and everything works great
prismaliser/util/prismaToFlow.ts
Line 366 in d0d9413
| name: letters[i]!, |
Not sure if that's the right way to address this issue.
Anyways, I've corrected it in my local version and am not blocked. Feel free to handle this issue when and as you prefer.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
