grafana / thema

A CUE-based framework for portable, evolvable schema
Apache License 2.0
229 stars 12 forks source link

Enforce ordering of items in `schemas` and `lenses` during `BindLineage` #174

Open sdboyer opened 1 year ago

sdboyer commented 1 year ago

173 removed certain native CUE logic that sorted lenses and schemas in a lineage into a known order. To replace this, we need to add checks to BindLineage() that enforce ordering invariants on the raw lineage inputs.

sdboyer commented 1 year ago

@undef1nd this is the one you were aiming to pick up, right?

undef1nd commented 1 year ago

Yes, I think it's one of those errors handling improvements you suggested.