Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Use AnyPolicyDefinitionInfo / AnyPolicyListInfo in UX1Config #523

Merged
merged 36 commits into from
Mar 14, 2024

Conversation

sbasan
Copy link
Collaborator

@sbasan sbasan commented Mar 14, 2024

Pull Request summary:

  1. Remove policy related models from endpoints directory - was causing circular import problem when trying to define an union.
  2. Use separate file for each policy list model
  3. Use AnyPolicyDefinitionInfo / AnyPolicyListInfo in UX1Config (which are containing both item id and definition - needed for migration steps)

Checklist:

  • Make sure to run pre-commit before committing changes
  • Make sure all checks have passed
  • PR description is clear and comprehensive
  • Mentioned the issue that this PR solves (if applicable)
  • Make sure you test the changes

@sbasan sbasan requested a review from a user March 14, 2024 09:45
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

lgtm

@sbasan sbasan merged commit 7dbffb2 into dev-uxmt Mar 14, 2024
10 checks passed
@sbasan sbasan deleted the tmp/rearrange-policy-models branch March 14, 2024 11:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant