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
Format arguments type missmatch #2
Comments
Thank you for your report! I'm going to investigate your build failure so I can make this open for contributions. About testing, yes, as soon as I have some spare time I should create a few. I'm pretty new to testing android libraries, so I'd need some time to get started |
Also - i'm not really sure about the operator access. I know that i can use |
I've been pretty undecided about this matter: using plain old functions is ok, indeed something like Anyways, this is 1.0.1, and there are tons of things to be improved. As you mentioned, doing some tests would be valuable, along with lots of other things that will come pretty soon |
The worst thing here is the missing annotation validation in IntelliJ, which is pretty much "no go" for me. I know that such error should be rare, but i'd rather be careful than sorry :) |
The original issue is fixed, along with the "missing userOrg" build failure, but let's keep the discussion going |
I believe your point is correct, and there should be a way to access kite using standard functions, and not operator functions. abstract class KiteResParser<in R, out O> : KiteParser() {
abstract operator fun get(resource: R): O
fun fetch(resource: R): O = get(resource)
} So that they are both accessible. This is a naive approach, and it raises an issue, that is, not all functions in this library are |
I'm trying out your library and i found problem with using arguments in string accessor. You have operator for
While the context
getString
method requiresvararg arguments: Any
(orObject... arguments
in java).Nontheless - when i'm trying to pass string parameter i have this strange result:
[Ljava.lang.String;@d43d4f6 hours
which is caused by difference between kotlin/java vararg. You need to add*
beforeformatAguments
like this:I'd love to contribute, but i failed to build project from
main
branch with messageAlso - i think this library could really use some tests to catch such issues faster :)
The text was updated successfully, but these errors were encountered: