+
Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

refactor(rome_wasm): change method names to be camel case #3105

Merged
merged 2 commits into from
Aug 24, 2022

Conversation

ematipico
Copy link
Contributor

Summary

This PR makes the methods compiled by wasm_bindgen camel case. The reason why I changed it is because now the emitted types will be inline with the types emitted by the backend-jsonrpc package, and this make the integration between the two backend easier.

Test Plan

This is mostly a compile time change, as you can see the changes are reflected in the playground. The CI should pass.

@ematipico ematipico requested a review from a team August 24, 2022 13:59
@ematipico ematipico temporarily deployed to aws August 24, 2022 14:00 Inactive
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 24, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1ec689f
Status: ✅  Deploy successful!
Preview URL: https://02ae3ef5.tools-8rn.pages.dev
Branch Preview URL: https://refactor-method-names.tools-8rn.pages.dev

View logs

@github-actions
Copy link

github-actions bot commented Aug 24, 2022

@ematipico ematipico force-pushed the refactor/method-names branch from eb2705d to b2a613f Compare August 24, 2022 14:15
@ematipico ematipico temporarily deployed to aws August 24, 2022 14:15 Inactive
Copy link
Contributor

@MichaReiser MichaReiser left a comment

Choose a reason for hiding this comment

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

I'm surprised there's no automated way to specify that all names should use camelCase naming.

One of the builds is failing.

@ematipico ematipico force-pushed the refactor/method-names branch from b2a613f to e510559 Compare August 24, 2022 14:36
@ematipico ematipico temporarily deployed to aws August 24, 2022 14:36 Inactive
@ematipico ematipico force-pushed the refactor/method-names branch from e510559 to 171b6f0 Compare August 24, 2022 14:37
@ematipico ematipico temporarily deployed to aws August 24, 2022 14:37 Inactive
@ematipico ematipico force-pushed the refactor/method-names branch from 171b6f0 to 1360c54 Compare August 24, 2022 14:43
@ematipico ematipico temporarily deployed to aws August 24, 2022 14:43 Inactive
@ematipico ematipico force-pushed the refactor/method-names branch from 1360c54 to 91f418d Compare August 24, 2022 15:04
@ematipico ematipico temporarily deployed to aws August 24, 2022 15:05 Inactive
@ematipico ematipico temporarily deployed to aws August 24, 2022 15:19 Inactive
@ematipico ematipico merged commit 04a2968 into main Aug 24, 2022
@ematipico ematipico deleted the refactor/method-names branch August 24, 2022 15:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载