
[Feature] Implement Group GraphQL Model And CRUD Resolvers In Backend

Created by: Tirokk

Feature Request

Implement group GraphQL model and CRUD resolvers.
- relates #5059 (closed)
Todo
-
GraphQL
-
add group settings ( details see https://github.com/Ocelot-Social-Community/Ocelot-Social/issues/5059#user-content-group-settings )
- owner/admin
- name (title)
- slug-name
- about (goal)
-
description:
- minimal 100 chars
- group type
- action radius
- location
- categories: 1-3
-
add relation
CREATED
-
rename
UserGroup
toUserRole
-
define resolver for:
-
CreateGroup
- error on name length, see frontend
-
Group
-
UpdateGroup
-
DeleteGroup
, see #5388
-
-
add group settings ( details see https://github.com/Ocelot-Social-Community/Ocelot-Social/issues/5059#user-content-group-settings )
-
seeding:
- seed a group