sourcery-templates icon indicating copy to clipboard operation
sourcery-templates copied to clipboard

Building Vapor projects using meta programming with Sourcery ✨

Results 3 sourcery-templates issues
Sort by recently updated
recently updated
newest added

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`

enhancement

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 =...

enhancement

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.