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

Inappropriate return condition #36

Open
moratori opened this issue Nov 5, 2024 · 0 comments
Open

Inappropriate return condition #36

moratori opened this issue Nov 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@moratori
Copy link
Member

moratori commented Nov 5, 2024

If not all claims are eligible for submission, they should not match inputDescriptor. Therefore, the condition of the if statement should be as follows.

if !matchingDisclosures.isEmpty && !matchingDisclosures.allSatisfy({!$0.isSubmit && !$0.isUserSelectable}){
...
}
@moratori moratori added the bug Something isn't working label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant