-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
weld: Filter out transitive dependencies for testing and remove dupli…
…cates (#5) * wip * weld: Filter our transitive dependencies for testing * remove dereferencing * rebase
- Loading branch information
1 parent
2c5ee3e
commit 1d19711
Showing
13 changed files
with
376 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package state | ||
|
||
// Code generated by weld. DO NOT EDIT. | ||
|
||
import ( | ||
transitive_ops "example/transitive/ops" | ||
) | ||
|
||
type Backends interface { | ||
Foo() transitive_ops.Foo | ||
Qux() transitive_ops.Qux | ||
Bar() transitive_ops.Bar | ||
Baz() transitive_ops.Baz | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Set[16]: (inline) | ||
Set[12]: var example/backends/providers.WeldProd | ||
Set[6]: var example/backends/providers.GRPC | ||
Set[2]: var example/identity/users/client/grpc.Provider | ||
Func[1]: func example/identity/users/client/grpc.New() (*example/identity/users/client/grpc.client, error) | ||
Bind[1]: example/identity/users.Client(*example/identity/users/client/grpc.client) | ||
Set[2]: var example/identity/email/client/grpc.Provider | ||
Func[1]: func example/identity/email/client/grpc.New() (*example/identity/email/client/grpc.client, error) | ||
Bind[1]: example/identity/email.Client(*example/identity/email/client/grpc.client) | ||
Set[2]: var example/exchange/client/grpc.Provider | ||
Func[1]: func example/exchange/client/grpc.New() (*example/exchange/client/grpc.client, error) | ||
Bind[1]: example/exchange.Client(*example/exchange/client/grpc.client) | ||
Set[3]: var example/backends/providers.DB | ||
Func[1]: func example/identity/email/db.Connect() (*example/identity/email/db.EmailDB, error) | ||
Func[1]: func example/identity/users/db.Connect() (*example/identity/users/db.UsersDB, error) | ||
Func[1]: func example/exchange/db.Connect() (*example/exchange/db.ExchangeDB, error) | ||
Set[3]: var example/backends/providers.External | ||
Func[1]: func example/external/mail.New(opts ...example/external/mail.option) (*example/external/mail.Mailer, error) | ||
Func[1]: func example/external/mail/mail.New() (*example/external/mail/mail.MailerLegacy, error) | ||
Func[1]: func example/external/versioned.New() *example/external/versioned/v1.Service | ||
Func[1]: func example/transitive/ops.NewFoo() (example/transitive/ops.Foo, error) | ||
Func[1]: func example/transitive/ops.NewBar(foo example/transitive/ops.Foo) example/transitive/ops.Bar | ||
Func[1]: func example/transitive/ops.NewBaz(bar example/transitive/ops.Bar, qux example/transitive/ops.Qux) example/transitive/ops.Baz | ||
Func[1]: func example/transitive/ops.NewQux() (example/transitive/ops.Qux, error) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Func[1]: func example/transitive/ops.NewBar(foo example/transitive/ops.Foo) example/transitive/ops.Bar | ||
Func[1]: func example/transitive/ops.NewBaz(bar example/transitive/ops.Bar, qux example/transitive/ops.Qux) example/transitive/ops.Baz | ||
Func[1]: func example/transitive/ops.NewFoo() (example/transitive/ops.Foo, error) | ||
Func[1]: func example/transitive/ops.NewQux() (example/transitive/ops.Qux, error) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
example/transitive/state.Backends[4]: example/transitive/ops.Bar, example/transitive/ops.Baz, example/transitive/ops.Foo, example/transitive/ops.Qux |
Oops, something went wrong.