simonedelmann / crud-kit

CRUD for Vapor 4. We all write CRUD (Create-Read-Update-Delete) routes all the time. The intention of this package is to reduce repeating code and to provide a fast start for an API.
MIT License
56 stars 8 forks source link

'validate' is deprecated: renamed to 'validate(content:)' #5

Closed KreuzKummelll closed 4 years ago

KreuzKummelll commented 4 years ago

While pushing a container to Heroku

/build/.build/checkouts/crud-kit/Sources/CRUDKit/Extensions/Content+Validatable.swift:6:29: note: use 'validate(content:)' instead
            try validatable.validate(request)
                            ^~~~~~~~
                            validate content: 
simonedelmann commented 4 years ago

Thanks for the issue! https://github.com/simonedelmann/crud-kit/releases/tag/1.0.4 fixes it.

KreuzKummelll commented 4 years ago

Wonderful!