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

proc macro: support camelCase & snake_case for object params #921

Merged
merged 3 commits into from
Nov 4, 2022

Conversation

niklasad1
Copy link
Member

@niklasad1 niklasad1 commented Oct 31, 2022

Close #920

@niklasad1 niklasad1 requested a review from a team as a code owner October 31, 2022 15:49
@niklasad1 niklasad1 requested a review from lexnv October 31, 2022 15:51
proc-macros/Cargo.toml Outdated Show resolved Hide resolved
@jsdw
Copy link
Collaborator

jsdw commented Nov 3, 2022

Code looks good, but I do wonder whether we want this level of "magic" in the macro (I commented on the backing issue)? I personally prefer it being really explicit about which method names you need to pass I guess :)

Copy link
Collaborator

@jsdw jsdw left a comment

Choose a reason for hiding this comment

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

As I said in the issue, I'm actually ok with this now I have properly understood waht it's doing :)

@niklasad1 niklasad1 merged commit bc11e9d into master Nov 4, 2022
@niklasad1 niklasad1 deleted the na-support-snake-camelCase-proc-macro branch November 4, 2022 08:29
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.

[proc_macro] Support named RPC parameters with naming conventions
3 participants