-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
researchThis requires a deeper dive to gather a better understandingThis requires a deeper dive to gather a better understanding
Milestone
Description
Currently, a KSP preprocessor generates DataSchema-boilerplate.
We want to address the following:
- You need to build a project to generate boilerplate. We want the same experience as kotlinx.serialization (generate as you type, rename / move refactorings)
- Better error reporting. Report warning for local classes annotated with
@DataSchema
- Add
companion object
to a data schema interface automatically Generate constructor for schema interface #113 - Resolution of the generated code without extra gradle configurations on the user side.
If 1 and 4 are solved on the KSP side with the release of K2, then we only need a small compiler plugin for 2 and 3. Otherwise, codegen should be moved to a compiler plugin as well.
Metadata
Metadata
Assignees
Labels
researchThis requires a deeper dive to gather a better understandingThis requires a deeper dive to gather a better understanding