Skip to content

[#64613] Create update form configuration contract #19261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: dev
Choose a base branch
from

Conversation

shiroginne
Copy link
Contributor

Ticket

64613

What are you trying to accomplish?

In order to split logic for the work types tab update, for every tab, we'll have a separate contract to validate the parameters.
Additional groups require more logic than just a contract; that's why the parameters transformer was introduced: it transforms the parameters from the web (API) to model parameters.

  • Added UpdateFormConfigurationContract
  • Added AttributeGroups::Transformer
  • Added related specs

Merge checklist

  • Added/updated tests

Create UpdateFormConfigurationContract, a contract responsible for the `attribute_groups` attribute for the Type model.
@shiroginne shiroginne requested review from mereghost and Kharonus June 20, 2025 09:43
@shiroginne shiroginne self-assigned this Jun 20, 2025
@shiroginne shiroginne marked this pull request as draft June 20, 2025 09:46
@shiroginne shiroginne marked this pull request as ready for review June 20, 2025 13:50
Copy link

Caution

The provided work package version does not match the core version

Details:

Please make sure that:

  • The work package version OR your pull request target branch is correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant