Skip to content

Commit

Permalink
Merge pull request #1853 from Permify/server/validation
Browse files Browse the repository at this point in the history
fix: remove max_items constraint from repeated validation rule
  • Loading branch information
tolgaOzen authored Dec 18, 2024
2 parents 21106c6 + deb82b4 commit 1fc2408
Show file tree
Hide file tree
Showing 8 changed files with 2,154 additions and 2,179 deletions.
2 changes: 1 addition & 1 deletion docs/api-reference/apidocs.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Permify API",
"description": "Permify is an open source authorization service for creating fine-grained and scalable authorization systems.",
"version": "v1.2.3",
"version": "v1.2.4",
"contact": {
"name": "API Support",
"url": "https://github.com/Permify/permify/issues",
Expand Down
2 changes: 1 addition & 1 deletion docs/api-reference/openapiv2/apidocs.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Permify API",
"description": "Permify is an open source authorization service for creating fine-grained and scalable authorization systems.",
"version": "v1.2.3",
"version": "v1.2.4",
"contact": {
"name": "API Support",
"url": "https://github.com/Permify/permify/issues",
Expand Down
2 changes: 1 addition & 1 deletion internal/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var Identifier = ""
*/
const (
// Version is the last release of the Permify (e.g. v0.1.0)
Version = "v1.2.3"
Version = "v1.2.4"
)

// Function to create a single line of the ASCII art with centered content and color
Expand Down
2 changes: 1 addition & 1 deletion pkg/pb/base/v1/openapi.pb.go

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

4,294 changes: 2,147 additions & 2,147 deletions pkg/pb/base/v1/service.pb.go

Large diffs are not rendered by default.

26 changes: 2 additions & 24 deletions pkg/pb/base/v1/service.pb.validate.go

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

2 changes: 1 addition & 1 deletion proto/base/v1/openapi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {
title: "Permify API";
description: "Permify is an open source authorization service for creating fine-grained and scalable authorization systems.";
version: "v1.2.3";
version: "v1.2.4";
contact: {
name: "API Support";
url: "https://github.com/Permify/permify/issues";
Expand Down
3 changes: 0 additions & 3 deletions proto/base/v1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2586,7 +2586,6 @@ message DataWriteRequest {
json_name = "tuples",
(validate.rules).repeated = {
min_items: 0
max_items: 100
items: {
message: {required: true}
}
Expand All @@ -2598,7 +2597,6 @@ message DataWriteRequest {
json_name = "attributes",
(validate.rules).repeated = {
min_items: 0
max_items: 100
items: {
message: {required: true}
}
Expand Down Expand Up @@ -2647,7 +2645,6 @@ message RelationshipWriteRequest {
json_name = "tuples",
(validate.rules).repeated = {
min_items: 1
max_items: 100
items: {
message: {required: true}
}
Expand Down

0 comments on commit 1fc2408

Please sign in to comment.