Add docstrings to SearchFilters methods #298

Open
opened 2024-11-20 09:34:06 +00:00 by potyarkin · 0 comments
Member

We should add docstrings to SearchFilters methods because for most of them the functionality is not obvious based on the call signature alone.

I've recently learned that (*SearchFilters).AddRootFilter is kinda important and is rather useful for client-side search calls. I knew it exsited from godoc but without the docstring I assumed its purpose incorrectly and did not use it.

I would prepare a PR myself but unfortunately I lack relevant knowledge.

We should add docstrings to [SearchFilters methods](https://pkg.go.dev/git.frostfs.info/TrueCloudLab/frostfs-sdk-go@v0.0.0-20241113074125-afdc2d8340bb/object#SearchFilters) because for most of them the functionality is not obvious based on the call signature alone. I've recently learned that `(*SearchFilters).AddRootFilter` is kinda important and is rather useful for client-side search calls. I knew it exsited from [godoc](https://pkg.go.dev/git.frostfs.info/TrueCloudLab/frostfs-sdk-go@v0.0.0-20241113074125-afdc2d8340bb/object#SearchFilters.AddRootFilter) but without the docstring I assumed its purpose incorrectly and did not use it. I would prepare a PR myself but unfortunately I lack relevant knowledge.
potyarkin added the
documentation
good first issue
P3
labels 2024-11-20 09:34:06 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-sdk-go#298
No description provided.