use camel case in POJO and snake case in graphql. What should I do? #946
Replies: 1 comment 1 reply
-
|
@oonxt - we don't have the ability to do that. The variable names are
directly based on the schema field names.
…On Tue, Mar 29, 2022 at 1:59 AM oonxt ***@***.***> wrote:
I'm trying to use camel case in POJO and snake case in graphql. What
should I do?
like this:
the pojo
class User {
UUID id;
LocalDateTime createdAt;
}
the graphql:
type User {
id: UUID
created_at: DateTime
}
—
Reply to this email directly, view it on GitHub
<#946>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ5JPXKLXKWQMCBZXOHC6MLVCLA67ANCNFSM5R5WUHIQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
oonxt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use camel case in POJO and snake case in graphql. What should I do?
like this:
the pojo
the graphql:
Beta Was this translation helpful? Give feedback.
All reactions