davidsteed1

Results 3 comments of davidsteed1

The order does matter as the first parameters type is used. The problem is arising when b is an array and t.union is empty. In the old code merged is...

I believe a change to line 56 of pkg/codegen/templates/union.tmpl merged, err := runtime.JSONMerge(b, t.union) will fix the issue