Skip to content

Unable to import relationships without a schema file #509

Description

@heytrav

I'm attempting to import relationships for an existing schema. I've tried defining the relationships files a few different ways but without any luck.

My relations file is structured like in the examples:

relationships: >-
  document:firstdoc#writer@user:tom

  document:firstdoc#reader@user:fred

  document:seconddoc#reader@user:tom

Because I already have a schema loaded into SpiceDB I would expect that I can import the relationships separately, however I always get an error mesages:

 zed import --schema=false  dev-resources/k8s-data/spicedb-data/relations/documents.yaml

2:01PM ERR terminated with errors error="either schema or schemaFile must be present"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Zedkind/bugSomething is broken or regressed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions