LiveRamp / reslang

A language for describing resource-oriented APIs & turning them into Swagger or resource diagrams. Oriented around the concepts we want to expose in the APIs.
Apache License 2.0
23 stars 7 forks source link

Diagram generator fails to diagnose non-existent resources #95

Closed j-q-arnold closed 4 years ago

j-q-arnold commented 4 years ago

A diagram spec uses /include and /exclude to give a list of resources to show or omit from the generated .dot output. Reslang fails to diagnose invalid resources in the lists. A non-existent resource can indicate a mismatch between the diagram spec and the base reslang; I think the compiler should give at least a warning (and probably an error) for mistakes.

liveandrew commented 4 years ago

complains now