ent / ent/ent

entgql.MapsTo not working with edge and where schema

Open
#4,092 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.