mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 01:44:03 +03:00
553ecf628b
### Description This very small PR introduces `unionWithM`, to allow hashmap union that might fail, and uses it to transform an `error` into a `throw500`. It also reorders `HashMap.Strict.Extended` to group all "union" functions together. There is, however, a broader question of whether we should encourage the proliferation of such functions. If so, we might also want to consider: - `mapWithKeyM`, to remove the `unsafeMkName` of `RemoteJoin.Collect` - `forWithKey`, as a flipped version of `traverseWithKey` PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3917 GitOrigin-RevId: a488d5bf04a73878b9e42f27ede36199bb4c920a |
||
---|---|---|
.. | ||
Aeson | ||
GADT/Compare | ||
HashMap/Strict | ||
IntMap/Strict | ||
List | ||
Parser | ||
Sequence | ||
Set | ||
Text | ||
Time/Clock | ||
Tuple | ||
URL | ||
Environment.hs | ||
SqlCommenter.hs | ||
TByteString.hs | ||
Trie.hs |