Skip to content

Todo Entities + API

I have a question with parsing "target" in Todo: If targetType is Issue, than target is the Issue class, else it is MergeRequest. Current decision is bad and i know it.

But i have an idea how to parse it. It can be deserialized with JsonDeserializer (from Gson) and put into Any type. But for data class getter is generated by compilator.

Edited by Eugene Shapovalov

Merge request reports