entgql.MapsTo not working with edge and where schema
Open
- Dominant language
- Go
- Stars
- 17.2k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
- [x] The issue is present in the latest release.
- [x] I have searched the [issues](https://github.com/ent/ent/issues) of this repository and believe that this is not a duplicate.
## Current Behavior 😯
entgql.MapsTo can change to ParentID to ParentId
but, where and edge schema does not work
## Expected Behavior 🤔
entgql.MapsTo can change to ParentID to ParentId
all field should be ParentId
## Your Environment 🌎
| Tech | Version |
| ----------- | ------- |
| Go | 1.22.1 |
| Ent | 0.13.1 |
| Database | MySQL |
| Driver | https://github.com/go-sql-driver/mysql |
Contributor guide
Assessment
This issue has not been assessed yet.