Skip to content

Commit eb4aa6b

Browse files
committed
fix: make schema compatible with dgraph v22
1 parent 57451cf commit eb4aa6b

14 files changed

+139
-473
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
88

99
...
1010

11+
## [0.7.9]
12+
13+
- build: make schema compatible with dgraph v22
14+
- buid: add options to contrib/dgraph configs file to change ports.
15+
- refactor: update resolvers with bridge query
16+
- refactor: make DgraphQueryResolverRaw obsolete with new Dgraph bridge resolver using proper inputs [WIP]
17+
- fix/schema:Fix duplicate issue with artefact case; make w_* effective with *Filter input in schema.
18+
- fix/updateAretefact: allow duplicate artefacts to be added to circles even if not at root circle.
19+
- Update go.mod
20+
21+
22+
1123
## [0.7.8]
1224

1325
### Fixed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ BINARY := f6
66
#DGRAPH_RELEASE := v21.03.1
77
#DGRAPH_RELEASE := v21.12.0
88
DGRAPH_RELEASE := v22.0.2
9-
CLIENT_RELEASE := 0.7.8
9+
CLIENT_RELEASE := 0.7.9
1010
$(eval BRANCH_NAME=$(shell git rev-parse --abbrev-ref HEAD))
1111
$(eval COMMIT_NAME=$(shell git rev-parse --short HEAD))
1212
$(eval RELEASE_VERSION=$(shell git tag -l --sort=-creatordate | head -n 1))

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Using Fractale for your organization offers the following capabilities and featu
2828

2929
Download and extract the given release
3030

31-
wget https://github.com/fractal6/fractal6.go/releases/download/0.7.8/fractal6-amd64.zip
31+
wget https://github.com/fractal6/fractal6.go/releases/download/0.7.9/fractal6-amd64.zip
3232
unzip fractal6-adm64.zip && mv fractal6-amd64 fractal6
3333
cd fractal6
3434

graph/contract_op.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,8 @@ func contractEventHook(uctx *model.UserCtx, cid, tid string, event *model.EventR
7272
}
7373
}
7474
for _, c := range contract.PendingCandidates {
75-
if c.Email == nil { continue }
76-
if i := auth.IsMember("email", *c.Email, contract.Tension.Receiverid); i >= 0 {
77-
return false, contract, fmt.Errorf("Candidate '%s' is already member.", *c.Email)
75+
if i := auth.IsMember("email", c.Email, contract.Tension.Receiverid); i >= 0 {
76+
return false, contract, fmt.Errorf("Candidate '%s' is already member.", c.Email)
7877
}
7978
}
8079
case model.TensionEventMemberLinked:

graph/generated/root_.generated.go

Lines changed: 21 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)