-
Notifications
You must be signed in to change notification settings - Fork 25
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 apple only Mapper<NSURL, Url> and Mapper<NSURL, File> #71
Comments
I think the only possible workaround is to create a Kotlin object wrapper around NSURL as it's done when using Koin. But the API will be way worse. |
This works: println("${NSURL.`class`()}") and the output is "NSURL". Can you elaborate on how can we use this with the mappers? This is OK, btw: assertEquals(NSURL.`class`(), NSURL.fileURLWithPath(path).`class`()) Meaning we can compare it with an instance type. |
I like more the second approach, yeah. Delegating everything to Strings looks odd. Do you want me to pull the thread from there? |
yeah probably don't pull that. I just made that pr to show you more easily. |
We can continue with the |
sounds good to me if you have the motivation to do it 👍. Otherwise I can try and get to it in the next couple weeks |
Also I'm not positive the A method or extension to convert |
Sorry mate, I have a peak of work this week. Maybe during the weekend, I will be able to take a look! 👍🏻 |
Support multiple mappers per input class type #70 Is required for this.
Ideally these would be offered in the default config: #69
The text was updated successfully, but these errors were encountered: