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

fix(javascript): move logic to custom gens #486

Merged
merged 6 commits into from
May 10, 2022
Merged

Conversation

shortcuts
Copy link
Member

@shortcuts shortcuts commented May 9, 2022

🧭 What and Why

🎟 JIRA Ticket: https://algolia.atlassian.net/browse/APIC-479

Changes included:

This PR aims at removing the (ugly) logic I had introduced in the template when we did not had with custom gens.

Output is the same, but at least it's now mostly readable.

Should unblock #475 too

🧪 Test

CI :D

@shortcuts shortcuts requested a review from a team May 9, 2022 16:42
@shortcuts shortcuts self-assigned this May 9, 2022
@shortcuts shortcuts requested review from eunjae-lee and millotp and removed request for a team May 9, 2022 16:42
@netlify
Copy link

netlify bot commented May 9, 2022

Deploy Preview for api-clients-automation canceled.

Name Link
🔨 Latest commit f94cff3
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/627a3db3bd23cf00083ad0dc

@algolia-bot
Copy link
Collaborator

algolia-bot commented May 9, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.

eunjae-lee
eunjae-lee previously approved these changes May 10, 2022
Copy link
Contributor

@eunjae-lee eunjae-lee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Much easier to modify the template, and now that we have this code in the generator, addition will be easier.

@shortcuts shortcuts enabled auto-merge (squash) May 10, 2022 10:30
@shortcuts shortcuts merged commit f516c24 into main May 10, 2022
@shortcuts shortcuts deleted the fix/javascript-template branch May 10, 2022 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants