-
Notifications
You must be signed in to change notification settings - Fork 143
feat(api): v3 implementation #3663
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
base: main
Are you sure you want to change the base?
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
5ca2922 to
5271347
Compare
c2b4adf to
ce2bb7f
Compare
turip
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
|
|
||
| // Filters | ||
| req.PlanKey = params.PlanKey | ||
| req.Key = lo.Ternary(params.Key != nil, &filter.FilterString{Ilike: params.Key}, nil) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| req.Key = lo.Ternary(params.Key != nil, &filter.FilterString{Ilike: params.Key}, nil) | |
| if params.Key != nil { | |
| req.Key =&filter.FilterString{Ilike: params.Key} | |
| } |
Maybe?
api/v3/request/request.go
Outdated
|
|
||
| type QueryAttributes struct { | ||
| Pagination CursorPagination | ||
| Filters []Filter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
query:"filter"
a20b0a6 to
3eaad7d
Compare
No description provided.