d = Dict([:name => "x"])
Dog(; d...)
Note the semicolon that makes d into keyword args. No need to convert the Dict to named tuples.
d = Dict([:name => "x"])
Dog(; d...)
Note the semicolon that makes d into keyword args. No need to convert the Dict to named tuples.