mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
gen/template: allow overriding of client struct and initialization (#2503)
This commit is contained in:
@@ -91,4 +91,6 @@ func TestCustomTemplate(t *testing.T) {
|
||||
Select().
|
||||
IntX(ctx)
|
||||
require.Equal(t, sum, got)
|
||||
|
||||
require.Equal(t, 20, client.HiddenData())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user