Skip to content

schema: Importing other files #6

@tv42

Description

@tv42

Some sort of url-inspired syntax, example.com/myproject/myprotocol.Person v1.

Do we import once with the full url, and then refer with just the basename (or given alias)? import example.com/myproject/myprotocol and then myprotocol.Person v1.

How are the actual *.chi looked up? The Go code gen should use $GOPATH, but also support schemas defined in non-Go projects; and non-Go libraries need a standard lookup mechanism.

Cyclic imports are an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions