mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 18:07:31 +00:00
fix: add OrgIDQuery to the queries for organizations (#8312)
# Which Problems Are Solved ListOrgs has no option to select for organizations specific to Ids. # How the Problems Are Solved Add OrgIDQuery to ListOrgs. # Additional Changes Clean up double mapping for the OrgQueries. # Additional Context - noted internally while checking performance issues (in Console)
This commit is contained in:
@@ -81,6 +81,7 @@ message OrgQuery {
|
||||
OrgNameQuery name_query = 1;
|
||||
OrgDomainQuery domain_query = 2;
|
||||
OrgStateQuery state_query = 3;
|
||||
OrgIDQuery id_query = 4;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -123,6 +124,16 @@ message OrgStateQuery {
|
||||
];
|
||||
}
|
||||
|
||||
message OrgIDQuery {
|
||||
string id = 1 [
|
||||
(validate.rules).string = {max_len: 200},
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
example: "\"69629023906488334\""
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
enum OrgFieldName {
|
||||
ORG_FIELD_NAME_UNSPECIFIED = 0;
|
||||
ORG_FIELD_NAME_NAME = 1;
|
||||
|
Reference in New Issue
Block a user