Skip to content

Implement tree object validation #1106

Open
@narekhovhannisyan

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions