Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(\internal): sorting column on ListIAMMembersRequest #9203

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MAHANTH-wq
Copy link
Contributor

@MAHANTH-wq MAHANTH-wq commented Jan 17, 2025

Which Problems Are Solved

Replace this example text with a concise list of problems that this PR solves.
For example:

  • If the property XY is not given, the system crashes with a nil pointer exception.

How the Problems Are Solved

Replace this example text with a concise list of changes that this PR introduces.
For example:

  • Validates if property XY is given and throws an error if not

Additional Changes

Replace this example text with a concise list of additional changes that this PR introduces, that are not directly solving the initial problem but are related.
For example:

  • The docs explicitly describe that the property XY is mandatory
  • Adds missing translations for validations.

Additional Context

Replace this example with links to related issues, discussions, discord threads, or other sources with more context.
Use the Closing #issue syntax for issues that are resolved with this PR.

Copy link

vercel bot commented Jan 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 17, 2025 5:58pm

@hifabienne hifabienne added the os-contribution This is a contribution from our open-source community label Jan 17, 2025
@MAHANTH-wq MAHANTH-wq changed the title feat :sorting column on ListIAMMembersRequest feat : sorting column on ListIAMMembersRequest Jan 17, 2025
@MAHANTH-wq MAHANTH-wq changed the title feat : sorting column on ListIAMMembersRequest feat(\internal): sorting column on ListIAMMembersRequest Jan 17, 2025
@@ -143,3 +143,11 @@ message UserIDQuery {
}
];
}

enum MemberFieldColumnName {
Copy link
Contributor Author

@MAHANTH-wq MAHANTH-wq Jan 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please comment on what fields to be considered here, for now i have added these fields

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's alright, additional fields can be added later on if necessary.

@MAHANTH-wq MAHANTH-wq marked this pull request as ready for review January 18, 2025 15:52
@muhlemmer muhlemmer requested a review from stebenz January 27, 2025 10:31
@@ -8776,8 +8776,9 @@ message ListIAMMemberRolesResponse {
message ListIAMMembersRequest {
//list limitations and ordering
zitadel.v1.ListQuery query = 1;
zitadel.member.v1.MemberFieldColumnName sorting_column=2;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix formatting and use '3' for this field, to not break the already existing definition.

@@ -143,3 +143,11 @@ message UserIDQuery {
}
];
}

enum MemberFieldColumnName {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's alright, additional fields can be added later on if necessary.

@@ -688,7 +688,8 @@ message RemoveInstanceResponse {
message ListIAMMembersRequest {
zitadel.v1.ListQuery query = 1;
string instance_id = 2;
repeated zitadel.member.v1.SearchQuery queries = 3;
zitadel.member.v1.MemberFieldColumnName sorting_column=3;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix formatting and use '4' for this field, to not break the already existing definition.

@stebenz
Copy link
Collaborator

stebenz commented Jan 27, 2025

@MAHANTH-wq Please also fill in the PR description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os-contribution This is a contribution from our open-source community
Projects
Status: 👀 In review
Development

Successfully merging this pull request may close these issues.

Provide sorting functionality for ListIAMMembers
3 participants