Skip to content

Support custom output name #11

@tobrun

Description

@tobrun

Current convention of MVP implementation requires you to have Data naming appended as part of the definition:

For example:
@DataCompat
private data class PersonData(val name: String, val nickname: String? = null, val age: Int)

which generates a Person.kt file that has a Person class.

Ideally we allow for more granular configuration through an annotation parameter:

For example:

@DataCompat("Person")
private data class PersonFooBarDefinition(val name: String, val nickname: String? = null, val age: Int)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions