Skip to content

Commit

Permalink
main target is building
Browse files Browse the repository at this point in the history
  • Loading branch information
rafiki270 committed Jan 8, 2020
1 parent b1283d7 commit b5daaa4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
14 changes: 7 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.0
// swift-tools-version:5.1
import PackageDescription

let package = Package(
Expand All @@ -14,11 +14,11 @@ let package = Package(
dependencies: [],
targets: [
.target(name: "Reloaded", dependencies: []),
.testTarget(
name: "ReloadedTests",
dependencies: [
"Reloaded"
]
),
// .testTarget(
// name: "ReloadedTests",
// dependencies: [
// "Reloaded"
// ]
// )
]
)
5 changes: 3 additions & 2 deletions Sources/Reloaded/Protocols/QueryExecutable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import CoreData


public protocol QueryExecutable {

associatedtype EntityType: Entity

var entity: EntityType.Type { get }
Expand All @@ -20,10 +21,10 @@ public protocol QueryExecutable {
var limit: Int? { get set }

init(_ entityType: EntityType.Type)
func fetchRequest() -> Entity.Request
// func fetchRequest() -> Entity.Request

}


extension QueryExecutable {

/// Get compiled fetch request
Expand Down

0 comments on commit b5daaa4

Please sign in to comment.