Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c24a405

Browse files
Fix infinite recursion in JSValueDecoder (#6)
Fixes swiftwasm/JavaScriptKit#130
1 parent eaf324c commit c24a405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Sources/OpenCombineJS/JSValueDecoder.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ import OpenCombine
1717

1818
extension JSValueDecoder: TopLevelDecoder {
1919
public func decode<T: Decodable>(_ type: T.Type, from value: JSValue) throws -> T {
20-
try decode(type, from: value)
20+
try decode(type, from: value, userInfo:[:])
2121
}
2222
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /