-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add pagination; add missing fields and objects [#17] #18
Conversation
@OGKevin when you're done with reviewing, please poke me but don't merge yet! :) |
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.
Ok, I did not do generated code right ? 😆 🙈
BunqSdk/Http/Pagination.cs
Outdated
"Could not generate previous page URL params: there is no previous page."; | ||
|
||
/// <summary> | ||
/// URL Param constants. |
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.
Ok I triple checked this time haha, not generated right 😝. Below you have param without capital P
so I guess this one should also be lower case ?
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.
Ohh OCD! :D I'll fix this :)
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.
Done
BunqSdk/Json/PaginationConverter.cs
Outdated
private const int INDEX_PARAM_VALUE = 1; | ||
|
||
/// <summary> | ||
/// Base dummy URL to hack though the incomplete relative URI functionality of dotnetcore. |
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.
Is though a typo ? Shouldn't it be through
. And this is kinda clever btw 👏
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.
That's indeed a typo! Thanks :)
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.
Done
@dnl-blkv tests passing. please add pagination tests as we discussed and address the changes I proposed and it should be good to merge. |
Cleanups done, Pagination test to go! |
All tests passing, LGTM. @andrederoos please take a look 👀. |
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.
same holds, review without generated will be better, rest is ok!
No description provided.