lepikhinb / laravel-typescript

MIT License
387 stars 46 forks source link

fix(model-generator): prevent duplicate identifier issues #28

Closed Josje92 closed 1 year ago

Josje92 commented 1 year ago

If you have a get***Attribute accessor method with the same name as a db relation, it would get added to the ts file twice. This version gets the relations real quick and skips the accessors if it already found it.