Skip to content

Commit

Permalink
feat: add OpenFgaClient that wraps OpenFgaApi (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh authored Apr 21, 2023
2 parents 85b6933 + 59cd93e commit 7149e3a
Show file tree
Hide file tree
Showing 12 changed files with 3,787 additions and 539 deletions.
1 change: 1 addition & 0 deletions .openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.travis.yml
api/openapi.yaml
test/api_open_fga_test.go
client.go
6 changes: 3 additions & 3 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
.github/CODEOWNERS
.github/ISSUE_TEMPLATES/bug_report.md
.github/ISSUE_TEMPLATES/feature_request.md
.github/PULL_REQUEST_TEMPLATE.md
.github/SECURITY.md
.github/workflows/main.yaml
.github/workflows/semgrep.yaml
.gitignore
Expand All @@ -13,9 +11,11 @@ LICENSE
NOTICE.txt
README.md
VERSION.txt
api_client.go
api_open_fga.go
api_open_fga_test.go
client.go
client/client.go
client/client_test.go
configuration.go
credentials/credentials.go
docs/Any.md
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## v0.2.2

### [0.2.2](https://github.com/openfga/go-sdk/compare/v0.2.1...v0.2.2) (2023-04-21)

- feat(client): add OpenFgaClient wrapper see [docs](https://github.com/openfga/go-sdk/tree/main#readme), see the `v0.2.1` docs for [the OpenFgaApi docs](https://github.com/openfga/go-sdk/tree/v0.2.1#readme)
- feat(client): implement `BatchCheck` to check multiple tuples in parallel
- feat(client): implement `ListRelations` to check in one call whether a user has multiple relations to an objects
- feat(client): add support for a non-transactional `Write`
- chore(config): bump default max retries to `15`
- fix(config)!: make the capitalization of the json equivalent of the configuration consistent
- fix: retry on 5xx errors

## v0.2.1

### [0.2.1](https://github.com/openfga/go-sdk/compare/v0.2.0...v0.2.1) (2023-01-17)
Expand Down
Loading

0 comments on commit 7149e3a

Please sign in to comment.