hybridsjs/hybrids

How to resolve list of storage?

Closed this issue · 2 comments

const query = {
    type: "search-string",
    string: searchParams.string ?? null,
    rule: searchParams.rule?.id ?? null,
}

// this works, but this use case is not specified in the types
const result = await store.resolve([Project], query)

Type of resolve() helper:

image

The types should be updated. I'll do it. Thanks for the issue.

Fixed with dd20611