-
Notifications
You must be signed in to change notification settings - Fork 14
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
fix(clients): add generation banner to generated files #816
Conversation
✅ Deploy Preview for api-clients-automation ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✗ The generated branch has been deleted.If the PR has been merged, you can check the generated code on the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice !
|
||
The banner **should** be added at the very top of every generated files, to avoid confusion for our user, but also redirect them to the `api-clients-automation` monorepo, where the contribution happens. | ||
|
||
To do so, a `generationBanner` variable is available on every `mustache` templates, see [the initial implementation](https://github.com/algolia/api-clients-automation/pull/816) for more context. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
recursion 🤯
🧭 What and Why
🎟 JIRA Ticket: https://algolia.atlassian.net/browse/APIC-583
Changes included:
Sets the generation notice banner at the top of every files, feel free to recommend a better syntax/sentence.
🧪 Test
Generated code :D