Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Limit what's writted to result file #10

Open
orfins opened this issue Jan 17, 2021 · 1 comment
Open

Limit what's writted to result file #10

orfins opened this issue Jan 17, 2021 · 1 comment

Comments

@orfins
Copy link

orfins commented Jan 17, 2021

I'm using the template to transform a .yaml file to .ts file, and there are some functions in the result file that are not used and my linter fails my build because of them. Is there a way to choose specific functions to be generated?

@jonaslagoni
Copy link
Owner

jonaslagoni commented Jan 17, 2021

I'm using the template to transform a .yaml file to .ts file, and there are some functions in the result file that are not used and my linter fails my build because of them. Is there a way to choose specific functions to be generated?

Hey @finsor unfortunately you cannot alter the output without you having to write the actual integration yourself. An alternative you could make your linter ignore the generated files (that is what I would have done).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants