Skip to content

Commit 3ce1baf

Browse files
authored
fix: Refactor route type generation to handle duplicate route names and missing route names (#40)
1 parent 8b7281b commit 3ce1baf

File tree

3 files changed

+2264
-2297
lines changed

3 files changed

+2264
-2297
lines changed

examples/laravel10-app/.laravel-typegen-tmp/Post.json

+1-5
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,7 @@
9090
}
9191
],
9292
"relations": [
93-
{
94-
"name": "author",
95-
"type": "BelongsTo",
96-
"related": "App\\Models\\User"
97-
}
93+
{ "name": "author", "type": "BelongsTo", "related": "App\\Models\\User" }
9894
],
9995
"observers": []
10096
}

0 commit comments

Comments
 (0)