fluent-kit icon indicating copy to clipboard operation
fluent-kit copied to clipboard

Swift ORM (queries, models, and relations) for NoSQL and SQL databases

Results 115 fluent-kit issues
Sort by recently updated
recently updated
newest added

The `anyValueType` eraser in `Fields+Codable` is coalescing the double-optional of OptionalParent.Value to a single optional, causing it to improperly decode when passed around via Codable.

bug

I have this enum ```swift enum Permission: String, PostgreSQLEnum, PostgreSQLMigration { ... case asset_create = "asset:create" case asset_delete = "asset:delete" case asset_read = "asset:read" case asset_update = "asset:update" ... }...

bug

Hi! This adds SQL-backed-only support for using a read action with "FOR UPDATE" or "FOR SHARE" which will allow the user to query+mutate the returned model(s)+save back on the database...

Steps to reproduce 1. Checkout branch main on 2b3ac0556740ea8d68f8616917daf64338d54c1b 2. Run all tests Environment * M1 chipset * macOS 12.3.1 * swift-driver version: 1.45.2 Apple Swift version 5.6 (swiftlang-5.6.0.323.62 clang-1316.0.20.8)...

help wanted
good first issue

### Describe the bug If the `Parent` property on a child is using `CompositeID`, it cannot be queried properly. ### To Reproduce ```swift final class ParentModel: Model { static var...

bug

### Describe the bug A `Model` using both `CompositeID` and `Children` will crash on load. ### To Reproduce ```swift final class ParentModel: Model { static var schema = "parents" final...

bug

I'd like to be able to supply a set of properties to sort on when defining a @Children relationship. Perhaps something like... ```swift @Children(for: \.$company, sort: [\.firstName, \.lastName, \.employeeId]) var...

enhancement
help wanted

### Describe the bug The current implementation of `constraintIdentifier` for foreign key prefixed all local and foreign fields with the local table name, but the output is not unique in...

bug

### Describe the bug Anytime a `join` or `with` are involved in a delete query, I receive the follow error: ``` [ WARNING ] server: missing FROM-clause entry for table...

enhancement
help wanted

When the database type is a `date` (where there's no time component) and I try to `.filter()` against it, it doesn't currently work properly. The generated SQL needs to include...

enhancement
question