-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Libs(Kotlin): reapply local patches to 7.9.0 templates
Removes the enum_class mustache and custom serializer impl in the hopes that the 7.9.0 generator handles these correctly without our patches. Testing should confirm this. If they are still needed, we'll bring that stuff back with the tests. The ApiClient template had a block for running requests as a suspendable coroutine which _should be present_ since we configure the generator with `useCoroutines=true`, however I need to learn more kotlin before I'm confident about how to fit the retry loop around that. For now, I've left the blocking-style request we've always had in place (i.e. the block you'd get when `useCoroutines=false`). Parts of `build.gradle` have been updated to track the generator. The kotlin version, for example, was needed to get the build working. N.b. if the build starts hanging for you, clean out the `build` and `generated` directories since there will be stale artifacts in each that can interfere.
- Loading branch information
1 parent
9965f91
commit 569acbc
Showing
5 changed files
with
45 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 0 additions & 63 deletions
63
...b/generated/openapi/src/main/kotlin/com/svix/kotlin/internal/infrastructure/Serializer.kt
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters