Reuse existing code for organization projects & groups resolvers
We have Organizations::ProjectsResolver and Organizations::GroupsResolver which have similar arguments and method to ProjectsResolver and GroupsResolver.
We should avoid code duplication by either:
- Adding an
organization
argument to the ProjectsResolver and GroupsResolver. - Deriving the
Organizations::ProjectsResolver
fromProjectsResolver
and similarly for GroupsResolver. AsOrganizations::ProjectsResolver
will be a subclass it will have all the functionality of theProjectResolver
.