Skip to content

Conversation

@dyoshikawa
Copy link
Contributor

Juniper crate can interconvert a GraphQL camel function and a Rust snake function.
So a function name in Rust should be snake case.
Actually, functions are written by snake case in juniper-advenced.

https://github.com/actix/examples/blob/master/juniper-advanced/src/schemas/root.rs#L104

@dyoshikawa dyoshikawa changed the title fix function name that camel to snake Fix function name that camel to snake Jun 16, 2020
Copy link
Member

@robjtede robjtede left a comment

Choose a reason for hiding this comment

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

thanks for the contribution 👍

@robjtede robjtede merged commit 5b3c996 into actix:master Jun 17, 2020
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.

2 participants