-
Notifications
You must be signed in to change notification settings - Fork 88
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
Unify property extractor function names #524
Unify property extractor function names #524
Conversation
While we are still bike-shedding the naming I want to call out we'll want to keep but deprecate the old names, not get rid of them entirely. |
Yeah, I realised that after I pushed those commits. I was a bit too enthusiastic to get the bike-shedding going I think. I'll add that to the to-do list above. |
761c293
to
8c74fce
Compare
3c12edf
to
770d37d
Compare
Let me know if you want this squashed |
docs/assertk-coroutines/assertk.coroutines.assertions/contains-all.html
Outdated
Show resolved
Hide resolved
a003cd2
to
5a89a79
Compare
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.
other than that looks good! While this should be squashed up to you if you want to do that, I can also do it while merging.
3af4e67
to
0291fa5
Compare
I'll let you squash it |
* ``` | ||
*/ | ||
suspend fun <T, P> Assert<T>.having(name: String, extract: suspend (T) -> P): Assert<P> = |
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.
If we make the other one inline
, we can eliminate this psuedo-overload. Do we want that? Both APIs used in the implementation are public.
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.
Yeah doing that would be fine
Closes #521
I'm opening this as a draft as the docs aren't updated yet and this is just supposed to be to get the bikeshedding going.
Known things to fix before merge:
update docs