Thanks for your reply @s.verna! Much appreciated.
We solved this on our side to configure codegen to not avoidOptionals
for input types likes this:
avoidOptionals: {
field: true,
inputValue: false,
object: true,
defaultValue: true,
}
This gives us the types we want.
More info: