You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@JetForMe It's only Application.Repositories that is instantiated, that type is just a helper type for accessing the actual factory methods for repositories. The actual factory methods/closures are stored in app.storage with the Application.Repositories.Storage type, so they are persistent across the entire Application
There's a bit of code I don't understand, on
vapor-auth-template/Sources/App/Services/Repositories.swift
Line 60 in fc3f4a7
This results in
Repositories
being instantiated on every access.The text was updated successfully, but these errors were encountered: