-
Notifications
You must be signed in to change notification settings - Fork 106
Closed
Description
I have a GroupType
#[GQL\Type(name: self::GQL_TYPE)]
class CommunityGroupType extends BaseTypeWithID
{
public const GQL_TYPE = 'CommunityGroup';
...
public readonly ?float $starRating;
#[GQL\Field]
public readonly ?CommunityGroupType $originalGroup;
As you can see, the group has originalGroup.
The original group has the same fields as the group, but some values can differ.
One thing I don't like is that original group will have another originalGroup inside of the graphql type.
Any suggestions? I would like originalGroup not to have originalGroup inside
group->originalGroup->originalGroup
Metadata
Metadata
Assignees
Labels
No labels