Ariel Mashraki

Results 198 comments of Ariel Mashraki

@jnmdf, thanks for the suggestion. https://github.com/ent/ent/pull/3054 fixes the issue by preventing the users from creating a schema with such a definition. Instead, it will warn the user to use edge-field...

Hey @adayNU 👋 Thanks for reporting this and for sending a patch. Please, see my review on #2164

Hey @oaktreecode 👋 You can add an annotation to your schema to generate both the Go and the GraphQL parts. See https://github.com/ent/contrib/blob/master/entgql/internal/todo/ent/schema/todo.go#L94. For example: ```go // Annotations returns Todo annotations....

Hey @e-nikolov and thanks for raising up this issue. > Is there a technical reason for the missing *UpsertBulk.Save() or has it just not been implemented yet? Yes. Not all...

Do you mean for "AUTO_INCREMENT" id fields? The way we get them on MySQL is by using the `LAST_INSERT_ID` (and a trick to set it on conflict mode). However, when...

Hey @erlendp 👋 Thanks for raising up this question and thanks @godcong for the support. It's not the first time this question is asked here, so I think it's worth...

> @a8m once caveat with the `SetNillableX` method though is that it seems to be only generated for Optional fields. If the field is required, then there's no method currently...

Thanks for the feedback, @hsblhsn. I actually agree with @giautm, as there are many parts in Ent runtime that relies on correct initializations. I think we can close this and...

Hey all, The issue was resolved with https://github.com/ent/contrib/pull/385. Please update to the latest version to get the fix. Thanks

Hey @RiskyFeryansyahP, can you please add unit tests for `dialect/sql/schema/mysql_test.go` and `dialect/sql/schema/postgres_test.go`, and integration tests for `entc/integration/migrate`? Thanks, and please feel free to ping me on Slack if you need...