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
The warning If you want to use models with Fluent, make sure to add the model to the Droplet's preparations array, e.g., drop.preparations += ModelType.self is useful for detecting misconfigured projects, except for the recommended fix is invalid swift. It should be updated to either drop.preparations.append(ModelType.self) or use an array of preparations.
The warning
If you want to use models with Fluent, make sure to add the model to the Droplet's preparations array, e.g., drop.preparations += ModelType.self
is useful for detecting misconfigured projects, except for the recommended fix is invalid swift. It should be updated to eitherdrop.preparations.append(ModelType.self)
or use an array of preparations.Here's the line of code: https://github.com/vapor/fluent-provider/blob/3c2cb5cf3c0b9cb387f65f8df410e927815985f5/Sources/FluentProvider/Provider.swift#L161
The text was updated successfully, but these errors were encountered: