Skip to content

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

@Polleps

Description

@Polleps

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    @tomic/cli@tomic/clibugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions