Skip to content

Commit

Permalink
Merge remote-tracking branch 'roshanreacts/union-types-fixed' into ro…
Browse files Browse the repository at this point in the history
…shanreacts-union-types-fixed

# Conflicts:
#	generator/generate.js
  • Loading branch information
jesse-savary committed Mar 13, 2021
2 parents b969d8d + c032ed0 commit 206fe7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions generator/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -1108,9 +1108,9 @@ function resolveInterfaceAndUnionTypes(types) {
type.fields.push(interfaceField) // Note: is inlining necessary? Deriving objects need to define all interface properties?
})
})
if (memberTypesToUnions.has(type.name)) {
if (memberTypesToUnions.has(type.origName)) {
memberTypesToUnions
.get(type.name)
.get(type.origName)
.forEach((union) => upsertInterfaceOrUnionType(union, type, result))
}
}
Expand Down Expand Up @@ -1557,7 +1557,7 @@ function Override(
type (uuid) - 0b0001
lone wildcards (*) - 0b0000
Ex:
Ex:
0b0110 - User.id:*
0b0011 - id:uuid
0b0010 - *id:uuid
Expand Down

0 comments on commit 206fe7c

Please sign in to comment.