title: How to use a @FetchRequest with the new searchable modifier in SwiftUI?
body: <p>Is it possible to use the new <code>.searchable</code> in combination with <code>@FetchRequest</code>?</p>
  <p>I have a code like this:</p>
  <pre><code>struct FooListView: View {
      @Environment(\.managedObjectContext) private var viewContext
      
      @FetchRequest(
          sortDescriptors: [NSSortDescriptor(keyPath: \Foo.name, ascending: true)],
          animation: .default)
      private var items: FetchedResults&lt;Foo&gt;
  
      @State var searchText = &quot;&quot;
  
      var body: some View {
          NavigationView {
              List {
                  ForEach(items) { item in
                      NavigationLink(destination: FooView(Foo: item)) {
                          Text(item.wrappedName)
                      }
                  }
                  .onDelete(perform: deleteItems)
              }
              .searchable(text: $searchText)
              .navigationTitle(&quot;Foos&quot;)
          }
      }
  }
  </code></pre>
  <p>I would like to use the <code>searchText</code> to filter my <code>FetchedResults</code>.</p>