alecthomas / alecthomas/sequel

Assist parent/child hydration

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
24
Forks
2
PR merge metrics
No merged PRs in 30d

Description

In practice it's quite common to want to select from a map key, or value. For example, when populating parent objects from child objects, you'll often have a map of `map[ParentID]bool` which you then have to flatten into a `[]ParentID` in order to select from.

Conversely, it's also common to need to be able to use the output of a select as a map in Go, eg. `map[ParentID]*Parent`.

It would be nice to have some clean way of doing both of these things.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.