lablup / lablup/backend.ai

Add Create-Role-from-Preset GraphQL mutation + adapter

Open
#11,978 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
15h 13m
Merged PRs (30d)
368

Description

Add a Strawberry GraphQL mutation and adapter wiring to instantiate a role from a preset. Input: role_preset_id, scope_type, scope_id. The adapter maps the input to the action and invokes the processor, using the shared v2 DTOs.

JIRA Issue: BA-6321

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing Strawberry GraphQL mutations, adapter wiring, action, processor, and shared v2 DTOs for role operations. Implement the role-preset mutation with role_preset_id, scope_type, and scope_id, then verify that the adapter maps the input and invokes the processor using the shared DTOs.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, python
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.