Skip to content

Commit

Permalink
No pointer all of field
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Wilner committed Mar 11, 2020
1 parent 9e77e57 commit de62c1a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/composite/all_of.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ func PlanAllOfObject(ctx context.Context, helper gen.Helper, schema *gen.Schema)
continue
}
tInfo := helper.TypeInfoHinted(subSchema, gen.JSONObject)
tInfo.Pointer = true
// this is a named type, add an embedded field for the subschema type
s.Fields = append(s.Fields, StructField{Type: tInfo, FieldValidators: []validator.Validator{validator.SubschemaValidator}})
if err := helper.Dep(ctx, subSchema); err != nil {
Expand Down

0 comments on commit de62c1a

Please sign in to comment.