Hmm, okay. This syntax is very similar to graphql variables. But I’m not sure about this code either. Don’t feels like a thing that we do in the clients. Why not just put the values rather than doing a loop to do so? It may have a reason, but it is odd to me.
But what about the other point?
- normalize - no need.
- two blocks - no need.
- aliases- no need.