Skip to content

[models] Validate DSS model at creation time #1586

Description

@RustedBones

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

There is no validation when creating a DSS model (Volume4D/3D). Invalid models are detected when executing some operations lilke CalculateSpatialCovering.

Describe the solution you'd like

Prevent creation of invalid DSS model to handle errors early on durion conversion from the API

This will allow to:

  1. Factorze some validation made in the API
  2. Operation on the model can assume its correctness and skip validation

Describe alternatives you've considered
Have a IsValid method receiver on the model for validation called by all model operations

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions