You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Translation: "gqlgen automatically changes the capitalization of the strings 'Id', 'Api', and 'Url' to 'ID', 'API', and 'URL', respectively, when generating type names. However, when using autobind to bind types, it cannot recognize existing type names, which may result in duplicate type generation because 'Id' is not equal to 'ID'."
The text was updated successfully, but these errors were encountered:
Running into this as well, especially with the added options around initialisms from #2683. It seems that Autobind isn't aware of initialisms at all -- would making it try to match using initialisms (perhaps behind a config option) be a reasonable path to pursue?
当类型名称中包含Id和Api及Url时,gql生成的类型名称会自动转换大小写为ID,API,URL,当使用autobind绑定类型时,无法识别已有的类型名称,导致重复生成类型,因为Id不等于ID?
Translation: "gqlgen automatically changes the capitalization of the strings 'Id', 'Api', and 'Url' to 'ID', 'API', and 'URL', respectively, when generating type names. However, when using autobind to bind types, it cannot recognize existing type names, which may result in duplicate type generation because 'Id' is not equal to 'ID'."
The text was updated successfully, but these errors were encountered: