Skip to content

Issue with Field Name Mapping in nestjs-graphql-tools #36

Answered by Adrinalin4ik
dagyu asked this question in Q&A
Discussion options

You must be logged in to vote

@dagyu Hello! I see your problem. At the current state it's the only way how you can do that. If you see any other way, feel free to open PR.
I would recommend not to use mappings like you do. Instead of specifying @column({name: "start_at"}), just use start_at instead of startAt.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dagyu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants