ent icon indicating copy to clipboard operation
ent copied to clipboard

An entity framework for Go

Results 509 ent issues
Sort by recently updated
recently updated
newest added

This patch fixes issue #3785, where such mixins ``` func (FooMixin) Fields() []ent.Field { return []ent.Field{ field.String("fooUrl"). StorageKey("foo_url"). SchemaType(/* ... */). GoType(new(url.URL)). ValueScanner(field.BinaryValueScanner[*url.URL]{}), } } ``` Result in `ent/runtime.go:20:17: undefined:...

How to make Soft Delete to be working in all types of queries including By{Edge}Count and Has{Edge}? Is it possible?

when i query a object with a edge, and parse the result to a json format back to http response, then cause the error: `json: unsupported value: encountered a cycle...

When generating code using [this approach](https://entgo.io/docs/code-gen#use-entc-as-a-package) one can define an alternative Target dir to store the Ent schema. However, this breaks schema generation when using the `sql/globalid` feature. The missing...

Is it possible to have in Ent something similar to: ``` for rows.Next() { ..... } ```

`config.go` isn't generated like expected according to [Create your first schema](https://entgo.io/docs/getting-started/#create-your-first-schema) while it's used in the generated files. - [x] The issue is present in the latest release. - [x]...

We are generating some helpers to eager-load "nested" edges. This works: ```go func (_m *AlphaQuery) WithNestedGamma(nq ...func(*GammaQuery)) *AlphaQuery { return _m.WithBeta(func(q *BetaQuery) { q.WithGamma(nq...) }) } ``` But if combined...

- [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. ##...

I have been using ent with https://turso.tech in development for a couple of month now and everything is working well except for creating records using ent. Whenever I call `.Save()`...

Tablewriter was updated to v1 and contains some breaking changes. In our codebase we got an error after updating some other dependency which depends on tablewriter v1. ~~~ # entgo.io/ent/cmd/internal/printer...