Skip to content

Commit

Permalink
vendor in new api.proto from dgo
Browse files Browse the repository at this point in the history
  • Loading branch information
mangalaman93 committed Aug 21, 2019
1 parent c9bc4bb commit 65fe291
Show file tree
Hide file tree
Showing 10 changed files with 1,306 additions and 2,135 deletions.
14 changes: 13 additions & 1 deletion protos/pb.proto
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,20 @@ message SchemaRequest {
repeated string types = 4;
}

message SchemaNode {
string predicate = 1;
string type = 2;
bool index = 3;
repeated string tokenizer = 4;
bool reverse = 5;
bool count = 6;
bool list = 7;
bool upsert = 8;
bool lang = 9;
}

message SchemaResult {
repeated api.SchemaNode schema = 1 [deprecated=true];
repeated SchemaNode schema = 1 [deprecated=true];
}

message SchemaUpdate {
Expand Down
1,114 changes: 826 additions & 288 deletions protos/pb/pb.pb.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion query/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -2648,7 +2648,7 @@ func (req *Request) ProcessQuery(ctx context.Context) (err error) {
// ExecutionResult holds the result of running a query.
type ExecutionResult struct {
Subgraphs []*SubGraph
SchemaNode []*api.SchemaNode
SchemaNode []*pb.SchemaNode
Types []*pb.TypeUpdate
}

Expand Down
75 changes: 38 additions & 37 deletions vendor/github.com/dgraph-io/dgo/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions vendor/github.com/dgraph-io/dgo/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 65fe291

Please sign in to comment.