Currently command and parameter dictionaries store redundant derived information in Hasura where some arrays are also stored as objects. The objects are useful in memory, but should not be stored and rather be recomputed upon deserialization. Since parameter dictionaries are one of the larger single row objects we store this should reduce a potential bottleneck and recomputing the derived information in the client should be performant as it is a linear scan of each array, and then caching each entry in a map.
Currently command and parameter dictionaries store redundant derived information in Hasura where some arrays are also stored as objects. The objects are useful in memory, but should not be stored and rather be recomputed upon deserialization. Since parameter dictionaries are one of the larger single row objects we store this should reduce a potential bottleneck and recomputing the derived information in the client should be performant as it is a linear scan of each array, and then caching each entry in a map.