Skip to content
This repository was archived by the owner on Mar 26, 2020. It is now read-only.

Suggestion: Code generated based on template files #368

@paulocoutinhox

Description

@paulocoutinhox

Hi,

I see some people, like me, always needing change some objc file or java file to put some macro, annotation or something like this to support React native or other tools. I see people needing modify record files with more code and etc.

So thinking yesterday about it, i want make a new version with template support. All current code will be based on a template to generate the exact same files. But we can use parameters to change the template to point to a template file.

Searching for template engines, i think that Velocity template is simple and powerful for this requirement:
http://www.baeldung.com/apache-velocity

1 - Template for individual functions
2 - Template for final files with the generated code

What Djinni team think about?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions