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

feat(validation): handle multi model validation #217

Open
mike-winberry opened this issue May 12, 2024 · 1 comment
Open

feat(validation): handle multi model validation #217

mike-winberry opened this issue May 12, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request triage Awaiting triage from the team

Comments

@mike-winberry
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

In order to better support the direction of lula, it may be beneficial to work on a way to handle validation for yaml files with multiple types of documents ie (component-definition and catalog, etc...), the default is failure since the oscal schema is "one-of", so the default state should remain the same, but allow for user to ignore the rule.

Describe the solution you'd like

  • Given a file with more than one OscalModels
  • When an validation is run
  • Then user has the option to handle validation of each model individually (more than one normally would fail)

Describe alternatives you've considered

  • handling in lula, this is a potential resolution, but I believe a much cleaner solution can be offered at the source as additional helper types may need generation to simplify across versioning.
@mike-winberry mike-winberry added the enhancement New feature or request label May 12, 2024
@github-actions github-actions bot added the triage Awaiting triage from the team label May 12, 2024
@mike-winberry mike-winberry self-assigned this May 17, 2024
@mike-winberry mike-winberry added question Further information is requested and removed question Further information is requested labels Jun 19, 2024
@brandtkeller
Copy link
Member

Current decision is to move away from multi-model and stick to single-model. This and the associated PR can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage Awaiting triage from the team
Projects
Status: 👀 In Review
Development

Successfully merging a pull request may close this issue.

2 participants