sourcery-templates
sourcery-templates copied to clipboard
Building Vapor projects using meta programming with Sourcery ✨
I'd like to be able to define my model variable as UINT. Sourcery should handle this datatype and generate the accompanying preparation with the parameter `signed: false`
Since we're already annotating relations, I think it makes sense to have Sourcery create relations. E.g. in the case of (inside `Employee.swift`): ``` // sourcery: preparation = foreignId, unique =...
Generating keys for routes, so we always know the endpoints that exist. For example `Routekey.admin.users` which will return `/admin/users/` `Routekey.admin.users.edit(1)`which will return `/admin/users/1/edit` etc, etc.