Skip to content

Commit

Permalink
chore: treat arrays as json
Browse files Browse the repository at this point in the history
  • Loading branch information
jsalaber committed Jul 9, 2024
1 parent 70202b2 commit c0d179d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DevCycle/DVCVariable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ func DVCVariableTypeFrom(classString: String) throws -> DVCVariableTypes {
return .Number
} else if classString.contains("Dictionary") {
return .JSON
} else if classString.contains("Array") {
return .JSON
} else {
throw DVCVariableTypeError.invalidType("Unkown DVCVariableType from class: \(classString)")
}
Expand Down

0 comments on commit c0d179d

Please sign in to comment.