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

Implement tree object validation #1106

Open
2 tasks
narekhovhannisyan opened this issue Dec 16, 2024 · 0 comments
Open
2 tasks

Implement tree object validation #1106

narekhovhannisyan opened this issue Dec 16, 2024 · 0 comments

Comments

@narekhovhannisyan
Copy link
Member

What

Implement an additional level of validation to catch errors in manifest.tree.

Why

As a user, I want to be sure that the manifest I have implemented, doesn't have any structural mistakes.
Currently, the manifest.tree object is not validated, so it requires an additional layer of scrutiny to avoid mistakes.

SoW (scope of work)

Implement zod validation for checking tree object structure.

  • documentation updated
  • test cases added

Acceptance criteria

Given (Setup): Describes the initial state of the system or the preconditions for a change.
We have a manifest with an invalid tree structure.
When (Action): Describes the specific action or behavior that is being tested/changed.
Running Impact framework on the manifest with invalid tree structure.
Then (Assertion): Defines the expected outcome or behavior of the system after the action in the "When" step is performed.
The framework should error out.

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

No branches or pull requests

1 participant