Skip to content

[feature] Relationship definition validator #929

@PragalvaXFREZ

Description

@PragalvaXFREZ

Description:

Meshery currently has nearly no way to validate relationship definitions. We need a validator that can be reused accross:

  • mesheryctl relationship validate command
  • Model import pipeline
  • Model build pipeline

The validator should support:

  • Schema validation (required fields, enums, types)
  • Cross-field semantic checks (taxonomy, selector structure, mutatorRef/mutatedRef parity)
  • Model-aware validation (verifying selector component kinds exist in the model)

Notes

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions