Skip to content
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

Fetching a nil value with iterateIndexedValues(inColumn:) causes crash. #527

Open
MythicLionMan opened this issue Jul 20, 2020 · 0 comments

Comments

@MythicLionMan
Copy link

Unlike objects, the values in a YapDatabaseSecondaryIndexTransaction may be nil. The nullability specifier on enumerateIndexedValues:inColumn:matchingQuery:using: and its Swift counterpart are incorrect however. This means that calling the method from swift when a column value results in nil will cause a crash.

I've pushed a fix for this issue in PR #525

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant