Skip to content

Commit 534d6bd

Browse files
committed
Made properties public so multipart can be created outside
1 parent 60e0491 commit 534d6bd

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Sources/Apollo/GraphQLFile.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ import Foundation
22

33
/// A file which can be uploaded to a GraphQL server
44
public struct GraphQLFile {
5-
let fieldName: String
6-
let originalName: String
7-
let mimeType: String
8-
let inputStream: InputStream
9-
let contentLength: UInt64
5+
public let fieldName: String
6+
public let originalName: String
7+
public let mimeType: String
8+
public let inputStream: InputStream
9+
public let contentLength: UInt64
1010

1111
/// A convenience constant for declaring your mimetype is octet-stream.
1212
public static let octetStreamMimeType = "application/octet-stream"

0 commit comments

Comments
 (0)