Ariel Mashraki
Ariel Mashraki
Hey @knight7024 and thanks for reporting this. Please, see [this example](https://github.com/ent/ent/blob/master/entc/integration/ent/schema/fieldtype.go#L102-L107) and let me know what's not working besides the `ON_UPDATE` clause.
The solution looks good. However, I'm not sure the `SchemaType` is needed. Closing as the issue was resolved. Thanks, and please feel free to join our [Discord community](https://discord.gg/qZmPgTE6RX) 😎
Hey! Issue was resolved with https://github.com/ent/ent/pull/3022. Thanks for reporting it, @naormatania 🙏
Hey @marwan-at-work! Thanks a lot for your contribution. Overall, the implementation looks good to me, except a few minor comments. I prefer to split this change into multiple PRs, and...
Hey @mgabeler-lee-6rs! Can you please report what version do you use at the moment for ent? > AFAICT, the hook helpers in their current form cannot ever be used from...
> The problem is that the schema file itself tries to import a package that doesn't exist if the code gen has never run before There's no way to solve...
Hey @frederikhors and sorry for the delay. @giautm and I discussed this internally, and don't have a final design for it. We have a few open questions/thoughts at the moment...
I guess by me when I upgraded [Docusarous](https://docusaurus.io/). Can we close the issue then?
Create team first, then create the players and assign the to the team: ```go // Team. team := tx.Team.Create().SetName(domainTeamWithPlayers.Name).Save(ctx) // Players. players := make([]*ent.PlayerCreate, len(domainTeamWithPlayers.Players)) for i, p := range...
Another 2 comments that may help you. If you're using gqlgen, instead of managing transactions manually, you can use the [Transactional Mutations](https://entgo.io/docs/tutorial-todo-gql-tx-mutation). Also, if you're using both tx and client,...