Skip to content

Commit

Permalink
Add packs relation
Browse files Browse the repository at this point in the history
  • Loading branch information
enjinabner committed Aug 5, 2024
1 parent 6116c51 commit 2726b28
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/GraphQL/Types/BeamType.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,12 @@ public function fields(): array
'selectable' => false,
'is_relation' => false,
],
'packs' => [
'type' => GraphQL::type('[BeamPack!]'),
'description' => __('enjin-platform-beam::type.beam_pack.description'),
'selectable' => false,
'is_relation' => true,
],
];
}
}

0 comments on commit 2726b28

Please sign in to comment.