hybridsjs / hybrids

Extraordinary JavaScript UI framework with unique declarative and functional architecture
https://hybrids.js.org
MIT License
3.06k stars 88 forks source link

How to resolve list of storage? #276

Closed Qsppl closed 3 weeks ago

Qsppl commented 1 month ago
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

smalluban commented 3 weeks ago

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

smalluban commented 3 weeks ago

Fixed with dd206112515505b024a35fd2b100a92b21501857