Skip to content
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

Allow ability to group Type Mappings #491

Open
DnOberon opened this issue Oct 31, 2024 · 0 comments
Open

Allow ability to group Type Mappings #491

DnOberon opened this issue Oct 31, 2024 · 0 comments
Assignees

Comments

@DnOberon
Copy link
Collaborator

Reason

We need the ability to group mappings together and edit transformations, or apply them for all mappings at once in the UI - and then have that respected by the processing thread. This is important because it will allow us to more swiftly build type mappings.

Design

  • Allow groupings by creating a join table - a many to many relationships where one mapping is the "parent" and each child mapping is attached to it via a join record.
  • UI modified to reflect this ability and change
  • When transformations are saved on a mapping group, it is only saved to the "parent" mapping this also allows for a mapping to belong to multiple groups)
  • When mappings are removed from the group, all transformations for the group are copied to them on removal
  • Transformation UI updated to reflect all possible keys from the multiple payloads due to multiple mappings
  • Processing thread updated to fetch all groups a mapping is a part of, then fetch all transformations from those groups
  • Export/Import of mappings updated to also accept and export a list of groupings (MUST BE FULLY BACKWARDS COMPATIBLE)

Impact

Impacts the processing thread, but everything MUST BE FULLY BACKWARDS COMPATIBLE

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

No branches or pull requests

2 participants