Skip to content

Commit

Permalink
fix(APIReference): forward isOptional prop to variable node summary (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
luvkapur authored Apr 3, 2023
1 parent c20ed76 commit 9904573
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export function GroupedSchemaNodesSummary({
}

return (
// @todo refactor this the member type should not be any
<VariableNodeSummary
key={`${member.__schema}-${member.name}`}
node={member}
Expand All @@ -86,6 +87,7 @@ export function GroupedSchemaNodesSummary({
apiNodeRendererProps={apiNodeRendererProps}
name={(member as any).name}
type={(member as any).type}
isOptional={(member as any).isOptional}
/>
);
})}
Expand Down

0 comments on commit 9904573

Please sign in to comment.