I'm currently developing a GQL API in Rust using Actix and Juniper.
actix = "0.13.0"
juniper = "0.15.11"
I've managed to create a working environment without issues, however I've noticed that Juniper is automatically renaming my Query fields.
The code below generates a new field under my QueryRoot which should be named "list_shows"
impl ShowQueries {
pub async fn list_shows(name: String, context: &Context) -> FieldResult<Show> {
...
}
}
However in my Schema it appears as listShows
Is there any macro or setting or something I could touch in Juniper to keep the field name as list_shows
instead?
Thank you very much