We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using 1.10.1 If I add the following to my State my app compiles but crashes at runtime
@Shared(.appStorage("testNil")) var testNil :String? = nil
In general, any optional String with a nil initial value causes a crash
main
No crash
1.10.1
macOS 14.4.1
15.3
swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4) Target: arm64-apple-macosx14.0
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description
Using 1.10.1 If I add the following to my State my app compiles but crashes at runtime
In general, any optional String with a nil initial value causes a crash
Checklist
main
branch of this package.Expected behavior
No crash
Actual behavior
Steps to reproduce
@shared(.appStorage("testNil")) var testNil :String? = nil
The Composable Architecture version information
1.10.1
Destination operating system
macOS 14.4.1
Xcode version information
15.3
Swift Compiler version information
The text was updated successfully, but these errors were encountered: