Problem with parsing Entity after insertion
Open
- Dominant language
- Kotlin
- Stars
- 9.3k
- Forks
- 798
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 26
Description
After adding an item to local database using the DAO api via the `new` keyword, the item is added no problem with that but when i try the return the response using `call.respond` this error is displayed :
` class declares multiple JSON fields named primaryKey$delegate`
Using `Gson` as `ContentNegotiation` and exposed version 0.29.1, the `Gson` can't parse the returned object after insert operation.
**Work around fix: I added an other data class and parse the `IntEntity`**
Contributor guide
Assessment
This issue has not been assessed yet.