Skip to content

Update template for Vapor 5 - #175

Closed
ptoffy wants to merge 3 commits into
mainfrom
vapor5
Closed

Update template for Vapor 5#175
ptoffy wants to merge 3 commits into
mainfrom
vapor5

Conversation

@ptoffy

@ptoffy ptoffy commented Jul 6, 2026

Copy link
Copy Markdown
Member

This updates the template to use the first alpha of Vapor 5. Leaf needs some serious changes to make it work so I've commented it out for now. I've also had to add some extensions to use Fluent with DI, those will likely be added to vapor/fluent

@ptoffy
ptoffy requested review from 0xTim and gwynne as code owners July 6, 2026 09:12
Comment thread README.md Outdated
Co-authored-by: Francesco Paolo Severino <96546612+fpseverino@users.noreply.github.com>

@0xTim 0xTim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I think this looks mostly good, a couple of comments

We can't merge this until release however, so I think once we're happy with the PR, lets close it so vapor5 can be the branch we use, unless we want to keep it open as a draft PR until release. Future changes should be PRed into this branch

Comment thread Sources/App/Controllers/TodoController.swift
Comment on lines +25 to +26
try await migrator.setupIfNeeded().get()
try await migrator.prepareBatch().get()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to wrap this to catch errors and run revert if they fail?

@ptoffy ptoffy closed this Jul 22, 2026
@ptoffy
ptoffy deleted the vapor5 branch July 22, 2026 07:51
@ptoffy

ptoffy commented Jul 22, 2026

Copy link
Copy Markdown
Member Author

Superseded by #176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants