-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds publisher
function, accepting array of keys
#148
Commits on Sep 2, 2023
-
Fixes infinite recursion when casting
AnySerializable
to wrong typeIf a values associated type `Serializable` , equals the values type, `toValue` would infinitely call itself. The test `testWrongCast` reproduces this and I fixed it by comparing the `nextType` with the current type.
Configuration menu - View commit details
-
Copy full SHA for 403672a - Browse repository at this point
Copy the full SHA 403672aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c10fc0 - Browse repository at this point
Copy the full SHA 4c10fc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1185c4e - Browse repository at this point
Copy the full SHA 1185c4eView commit details
Commits on Sep 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6aff5ad - Browse repository at this point
Copy the full SHA 6aff5adView commit details -
Adds
publisher
function accepting array of keysIn my app I have a use case, where I have a dynamic array of keys, which I want to observe using a Publisher (a publisher works better here then AsyncSequence). By giving an option to use either variadic parameters or an array, that would be possible without breaking any code. Additionally, I've discovered a crash when observing multiple keys and immediately cancelling the publisher. Here an observer, which was not yet added, was removed. Added check to make sure, this can't happen.
Configuration menu - View commit details
-
Copy full SHA for 7cfd340 - Browse repository at this point
Copy the full SHA 7cfd340View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b256c1 - Browse repository at this point
Copy the full SHA 8b256c1View commit details -
Update Sources/Defaults/Observation.swift
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 704167f - Browse repository at this point
Copy the full SHA 704167fView commit details -
Update Sources/Defaults/Observation.swift
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b825df8 - Browse repository at this point
Copy the full SHA b825df8View commit details -
Update Sources/Defaults/Observation+Combine.swift
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a44434e - Browse repository at this point
Copy the full SHA a44434eView commit details