Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions FirebaseFunctions/Sources/Internal/FunctionsSerializer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ final class FunctionsSerializer: Sendable {
// - NSNull (note: `nil` collection values from a Swift caller will be treated as NSNull)
// - NSNumber
// - NSString
// - NSDicionary
// - NSDictionary
// - NSArray
func encode(_ object: Any) throws -> Any {
if object is NSNull {
Expand Down Expand Up @@ -58,7 +58,7 @@ final class FunctionsSerializer: Sendable {
// - NSNull (note: `nil` collection values from a Swift caller will be treated as NSNull)
// - NSNumber
// - NSString
// - NSDicionary
// - NSDictionary
// - NSArray
func decode(_ object: Any) throws -> Any {
// Return these types as is. PORTING NOTE: Moved from the bottom of the func for readability.
Expand Down
Loading