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

prod: preserve included field constraints #1433

Conversation

kiahna-tucker
Copy link
Member

@kiahna-tucker kiahna-tucker commented Jan 29, 2025

Issues

The issues directly below are completely resolved by this PR:
#1434

Changes

1434

The following features are included in this PR:

  • Create field selection-related interfaces to promote type consistency in field selection logic. The base FieldSelection interface includes an optional, meta property which is used, presently, to store additional constraints for included fields.

  • Rename FieldSelectionDictionary to BindingFieldSelections and FieldSelection to FieldSelectionDictionary to clarify the information encapsulated by each interface.

Tests

Manually tested

Approaches to testing are as follows:

  • Validate that included field constraints are preserved in the materialization create workflow when taking action on other fields in the field selection table.

  • Validate that included field constraints are preserved in the materialization edit workflow when taking action on other fields in the field selection table.

Automated tests

N/A

Playwright tests ran locally

  • Admin
  • Captures
  • Collections
  • HomePage
  • Login
  • Materialization

Screenshots

N/A

@kiahna-tucker kiahna-tucker added the change:planned This is a planned change label Jan 29, 2025
@kiahna-tucker kiahna-tucker changed the title Preserve included field constraints prod: preserve included field constraints Jan 29, 2025
@kiahna-tucker kiahna-tucker marked this pull request as ready for review January 29, 2025 16:20
@kiahna-tucker kiahna-tucker requested a review from a team as a code owner January 29, 2025 16:20
Copy link
Member

@travjenkins travjenkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - did some minor testing locally and code looks good

@kiahna-tucker kiahna-tucker merged commit 3928836 into main Jan 31, 2025
3 checks passed
@kiahna-tucker kiahna-tucker deleted the kiahna-tucker/bug-repair/preserve-included-field-properties branch January 31, 2025 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change:planned This is a planned change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants