contrib icon indicating copy to clipboard operation
contrib copied to clipboard

A collection of extensions and tools for ent

Results 76 contrib issues
Sort by recently updated
recently updated
newest added

Edge Schema's are ***awesome*** and allow you to store metadata about a relationship (like when 2 user's first became friends) but the gql generator places both edges (friends and friendship)...

Hi Team, This PR adds some extra configuration to the generate Hook so that it can output generated code that works with BufBuild's Connect. Specific changes: - Make all method...

- Add a check for the type being an array

* Add mixin kind * Add AppendMixin to Context * Add Mixin func that provides a ast.Expr

fixes https://github.com/ent/ent/issues/4069 I omit the check for the method "Update" because there is no way to identify given zero value is intentional.

`.EntEdge.StructField` has string value with pascal case so "Children" is stored which cannot be singulerized by the `sigular` function that only takes lower case. `.EntEdge.Name` has same string with `.EntEdge.StructField`...