atomic-server icon indicating copy to clipboard operation
atomic-server copied to clipboard

@tomic/cli should give clear error when trying to generate types from a non ontology resource

Open Polleps opened this issue 1 year ago • 0 comments

When you add a resource to the ontologies list that is not an ontology the cli crashes because it cant read properties or classes (this will likely also happen when it is an ontology but doesn't have classes or properties)

It should check to see if something is an ontology before trying to process it and display a clear error.

Polleps avatar Jan 30 '24 17:01 Polleps