Skip to content

fix(javascript): add class-proposal plugin for client-common #765

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

Merged
merged 2 commits into from
Jun 29, 2022

Conversation

shortcuts
Copy link
Member

@shortcuts shortcuts commented Jun 29, 2022

🧭 What and Why

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

Changes included:

See sandbox to see the detailed error.

This solution works well for node, but I've tried many ways to make the instanceof work in the browser, and always ended up having an Error prototype. I've fallback'd to the name property in the meantime, which still allow a user to implement some logic around it, but we could definitely provide something with a better DX in the future, especially if we change the target to ES6.

🧪 Test

CI :D

@netlify
Copy link

netlify bot commented Jun 29, 2022

Deploy Preview for api-clients-automation canceled.

Name Link
🔨 Latest commit 201b5ad
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/62bc66dbfb31b00008db20af

@algolia-bot
Copy link
Collaborator

algolia-bot commented Jun 29, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.
You can still access the code generated on main via this commit.

Base automatically changed from fix/oneof-of to main June 29, 2022 12:13
@shortcuts shortcuts self-assigned this Jun 29, 2022
@shortcuts shortcuts requested a review from millotp June 29, 2022 14:03
@shortcuts shortcuts marked this pull request as ready for review June 29, 2022 14:03
@shortcuts shortcuts requested a review from millotp June 29, 2022 14:54
Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

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

looks good !

@shortcuts shortcuts enabled auto-merge (squash) June 29, 2022 14:57
@shortcuts shortcuts merged commit 77c80e2 into main Jun 29, 2022
@shortcuts shortcuts deleted the fix/js-build branch June 29, 2022 15:32
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.

3 participants