I am writing a gRPC service that fetches exchange rates within a given date range from this API and the response is partitioned day by day, you can see response format here.
To parse this response, I need to have a proto message with a field something like
map<string, map<string, float>>
However proto does not allow defining nested maps. There are some solutions to create another message with a map field, however in my case, the inner map is generic. So, I could not define another message.
Is there a way of defining generic nested maps in proto3?