Ariel Mashraki

Results 198 comments of Ariel Mashraki

This can be a really nice extension or a linter for Ent or Atlas. cc @rotemtam

Hey @covrom and thanks for your contribution - Let's discuss about this proposal here (or in #360). When @alexsn and I discussed about this feature, we were thinking about something...

Hey! The reason for this behavior is mentioned [here](https://github.com/ent/ent/blob/master/dialect/sql/sqlgraph/graph.go#L1017-L1020). We never had a use case like before and that's why we didn't implement it specifically for PostgreSQL (SQLite added support...

Hey @ProximaB and thanks for your contribution. > os.Exit() exits immediately and no deferred statements can be evaluated. You are right, and I agree that this is "more correct". However,...

Hey @seiichi1101, can you please explain why [the edge field option](https://entgo.io/docs/schema-edges#edge-field) does not solve this?

Hey @lagzi and thanks for reporting this. I went over your example and the problem is as follows: for M2M edges, Ent creates a join-table with the relation name. Since...

Thanks for clarifying. I just submitted a patch to address it https://github.com/ent/ent/pull/2703 You're welcome to give it a try and update me if it solved the problem or not. Thanks...

These indexes have identifiers longer than 63 chars ([PostgreSQL max identifier length](https://www.postgresql.org/docs/current/limits.html)). Do you use the branch in my PR? If you can reproduce this in your repository I can...

Found the issue. The name of the unique column (i.e. foreign-key) there is truncated by the database and that's why Atlas/Ent can't recognize it. I'll work on solving this, but...

Hey @Meroje and thanks for reporting this. I'll give it a look. Just to make sure you're not blocked now, can you please check if this works for you with...