Can anyone help me understand how can we handle asynchronous network calls with ktor http client like adding loader and when it is either success or error then hide it and load appropriate data, with promises and observables it could be done through success or error callback but how can we achieve the same with ktor http client?
1 year ago
Has anyone created tests for fullstack web mpp, if yes can you please share the sample project?
1 year ago
• Just started a kotlin-mpp full-stack project from IDEA; What gradle task do I run to make it build the entire project as one jar, and where should I put the assets and such?
• Also, is there a way to use sass/less easily with the standard setup or no?
Execution failed for task ':jvmProcessResources'.
> Entry server_style.css is a duplicate but no duplicate handling strategy has been set. Please refer to <https://docs.gradle.org/7.1/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy> for details.
I also get this while trying to run my project, it says server_style.css is duplicate but it's only in jvmMain/resources and not in jsMain/resources or commonMain/resources
1 week ago
Is there a way to always force kotlin/js to recompile when needed? For some reason it sometimes just says it's up to date even though the developmentExecutable folder doesn't exist, which breaks my entire gradle setup