- 
                Notifications
    
You must be signed in to change notification settings  - Fork 27
 
feat(swift): add disjunctive faceting #3778
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
Conversation
          ✔️ Code generated!
 📊 Benchmark resultsBenchmarks performed on the method using a mock server, the results might not reflect the real-world performance. 
  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mostly reviewed the general implem as I'm not a swifty master like you
        
          
                clients/algoliasearch-client-swift/Sources/Search/Extra/SearchQueryExtension.swift
          
            Show resolved
            Hide resolved
        
              
          
                clients/algoliasearch-client-swift/Sources/Search/Extra/SearchClientExtension.swift
          
            Show resolved
            Hide resolved
        
              
          
                clients/algoliasearch-client-swift/Sources/Search/Extra/DisjunctiveFaceting.swift
          
            Show resolved
            Hide resolved
        
      | var localizedDescription: String { | ||
| switch self { | ||
| case .emptyResponses: | ||
| return "Unexpected empty search responses list. At least one search responses might be present." | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wouldn't this be caught by the transporter? I'm not sure it's possible to have 0 responses
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nothing to add, you clou'd it
        
          
                clients/algoliasearch-client-swift/Sources/Search/Extra/DisjunctiveFaceting.swift
          
            Show resolved
            Hide resolved
        
      Co-authored-by: Thomas Raffray <[email protected]>
algolia/api-clients-automation#3778 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Thomas Raffray <[email protected]>
🧭 What and Why
🎟 JIRA Ticket: DI-2852
Changes included:
🧪 Test
Unit tests imported from working v8