lepikhinb / laravel-typescript

MIT License
387 stars 46 forks source link

fix: Generate relation names in snake_case #7

Closed ekvedaras closed 2 years ago

ekvedaras commented 2 years ago

By default, Laravel uses snake_case names for multi-word relations. The PR fixes that and adds an assertion. It also fixes composer.json loading that also works in a debugger environment or when tests is run not from project root (for example running using IDE)

GENL commented 2 years ago

Hey! You should validate this PR.