Skip to content

Commit 420f99a

Browse files
committed
Rename references to "join" or "union" to "choice type"
1 parent bb4d09f commit 420f99a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

request.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,15 @@ func unmarshalNode(data *Node, model reflect.Value, included *map[string]*Node)
419419
// struct type field.
420420
var choiceMapping map[string]structFieldIndex = nil
421421
if annotation == annotationPolyRelation {
422+
<<<<<<< HEAD
422423
choiceMapping = choiceStructMapping(fieldValue.Type())
424+
=======
425+
choiceMapping, err = choiceStructMapping(fieldValue.Type())
426+
if err != nil {
427+
er = err
428+
break
429+
}
430+
>>>>>>> 4b13373 (Rename references to "join" or "union" to "choice type")
423431
}
424432

425433
if isSlice {

0 commit comments

Comments
 (0)