Skip to content

Adding dependencies #1

Description

@dmateusp

hey @cloneable thanks for sharing this!

I've been using it for a while, now I wanted to use the Ent approach described here to have a Proto object store/retreived from the DB easily.

To do that, I need to import my proto generated type into my schema file, but entc doesn't seem to see my dependency at all:

entc generation failed, entc/load: parse schema dir: /redacted/schema/myschema.go:8:6: could not import github.com/my/repo/proto/myproto (invalid package name: "")

I've tried to change the rule but I'm a total beginner at writing Bazel rules so I haven't managed, do you have an idea how this could be supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions