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

[IDEA] Add custom generator support #52

Closed
pierre-H opened this issue Oct 9, 2017 · 1 comment
Closed

[IDEA] Add custom generator support #52

pierre-H opened this issue Oct 9, 2017 · 1 comment

Comments

@pierre-H
Copy link
Contributor

pierre-H commented Oct 9, 2017

Hello,

It would be great to add an option to support custom generator with custom templates.

For example : I often use Semantic UI for React in TypeScript in multiples projects. So I'd like to create my own generator with all templates needed and to use it like this generate-api-platform-client --generator=reactSemanticTs.

I don't know what's the best way to support this (specifically how to not overwrite custom generators when updating the client-generator). Does someone have an idea ?

Thank you for your great work !

@soyuka
Copy link
Member

soyuka commented Oct 10, 2017

You can use a custom directory for templates already #32. Not sure how we could allow custom generators because they are really specific. Feel free to contribute with your own generator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

4 participants