Swiftpack.co - vapor/fluent-kit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by vapor.
vapor/fluent-kit 1.45.0
Swift ORM (queries, models, and relations) for NoSQL and SQL databases
⭐️ 182
🕓 3 days ago
iOS macOS watchOS tvOS linux macOS iOS
.package(url: "https://github.com/vapor/fluent-kit.git", from: "1.45.0")

FluentKit

Documentation Team Chat MIT License Continuous Integration Test Coverage Swift 5.6

GitHub

link
Stars: 182
Last commit: 4 days ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Related Packages

Release Notes

1.45.0 - Allow pivot editing closures to be async and throwing.
4 days ago

What's Changed

Allow pivot editing closures to be async and throwing. by @gwynne in #585

When using the attach(_:method:on:_:) and attach(_:on:_:) methods of SiblingsProperty, the optional closure provided to allow editing new pivots before they are saved can now optionally be both throws and async.

Closes #581.

Additional changes:

  • All versions of the isAttached(), attach(), and detach() methods of SiblingsProperty will now throw errors (specifically cases of the new SiblingsPropertyError enum) instead of calling fatalError() when an unsaved model is encountered.

Reviewers

Thanks to the reviewers for their help:

  • @MahdiBM
This patch was released by @gwynne

Full Changelog: https://github.com/vapor/fluent-kit/compare/1.44.1...1.45.0

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics