You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 9, 2024. It is now read-only.
This could be solved by createMap/createSelection with source field and filter option (#17 (comment)). You can pass swapIds as source and use filter to check includes.
I think it looks more straightforward.
The idea of joinLists and grabItems methods is to provide a formalized way to join KVs without manually iterating through them
The problem with solving these cases through createMap/createSelection is that you'll pass other KVs as a source and handle joining inside fn, so your app
I agree that we need some utils which are working "key per key" like SQL joins does. I'm still not sure how to make it easier. We can start with current joinLists approach.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Case
Sometimes you need one-to-many connection between two KVs
For example, there's "Swaps" widgets and you need to gather swaps lists for each widget
Solution
Add
joinLists
methodThe text was updated successfully, but these errors were encountered: