Compilation sometimes puts empty arrays ([]) and sometimes skip keys at all.
For example keys like inputs, outputs, object, data, dependencies are always put into output json with an empty array, while keys like voluemes, volumesFrom, args etc.. are skipped.
Compilation should be predictable and stable. My proposal is to remove [] from json outputs, as I think, empty arrays are also removed by amino codec. The second option is to put [] everywhere, but this should be consistent.
Compilation sometimes puts empty arrays (
[]
) and sometimes skip keys at all.For example keys like
inputs
,outputs
,object
,data
,dependencies
are always put into output json with an empty array, while keys likevoluemes
,volumesFrom
,args
etc.. are skipped.Compilation should be predictable and stable. My proposal is to remove
[]
from json outputs, as I think, empty arrays are also removed by amino codec. The second option is to put[]
everywhere, but this should be consistent.