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

implement server side sorting controls (rfc2891) #414

Merged
merged 3 commits into from
Feb 26, 2023

Conversation

m-vinc
Copy link
Contributor

@m-vinc m-vinc commented Jan 29, 2023

Hey,
I open a PR to implements server side sorting some months ago (#358) and close it for actually no reason :(

I change some variables names which is not clear while reading my old PR. Don't hesitate to tell me if something is wrong in the code I'll fix it :p

Copy link
Member

@cpuschma cpuschma left a comment

Choose a reason for hiding this comment

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

LGTM so far! Very good first PR, thank you 👍 Can you please look into the comments I left?

I'll run some tests as described regarding the AttributeType field in the ControlServerSideSortingResult struct

v3/control.go Show resolved Hide resolved
v3/control.go Show resolved Hide resolved
v3/control.go Show resolved Hide resolved
v3/control.go Show resolved Hide resolved
@m-vinc
Copy link
Contributor Author

m-vinc commented Feb 8, 2023

Hey,
Thanks for the feedbacks, i'll add some comments to my code as you requested and then look further for that probably missing switch case when I can !

@m-vinc
Copy link
Contributor Author

m-vinc commented Feb 17, 2023

I've implement the missing decoding function, add a little test to validate my function, add a comment to the valid function and add the type to the maps as you requested ! :p

…equest, add server side sorting type to ControlMap
@cpuschma
Copy link
Member

Thank you for your PR! ❤️

@cpuschma cpuschma merged commit b64a808 into go-ldap:master Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants