Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Feature: add generation of missing functions with annotation processing #8

Open
serpro69 opened this issue Oct 3, 2019 · 0 comments
Labels
core 🧬 Issue related to :core module enhancement 🚀 New feature or request

Comments

@serpro69
Copy link
Owner

serpro69 commented Oct 3, 2019

Example:

Add some new parameter to a dictionary's category:

    name #this exists in name.yml for example
      strange_name: ["Some gibberish", "More gibberish"]

Annotation processor should generate the following code:

#NameExt.kt

val Name.strangeName = resolve { fakerService.resolve(it, "strange_name") }

After compiling should be possible to call:

Faker().name.strangeName() // => "Some gibberish"

This would particularly be useful if we want to add some extra category parameters without modifying the codebase

@serpro69 serpro69 added the enhancement 🚀 New feature or request label Oct 20, 2019
@serpro69 serpro69 changed the title Feature: add generation of missing functions with annotation processing [core] Feature: add generation of missing functions with annotation processing Jun 7, 2020
@serpro69 serpro69 added the core 🧬 Issue related to :core module label Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core 🧬 Issue related to :core module enhancement 🚀 New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant