mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
entc/gen: keep internal feature-flags private (#3832)
This commit is contained in:
@@ -434,18 +434,7 @@ func TestGraph_Gen(t *testing.T) {
|
||||
Storage: drivers[0],
|
||||
Templates: []*Template{external, skipped},
|
||||
IDType: &field.TypeInfo{Type: field.TypeInt},
|
||||
Features: []Feature{
|
||||
FeaturePrivacy,
|
||||
FeatureIntercept,
|
||||
FeatureEntQL,
|
||||
FeatureNamedEdges,
|
||||
FeatureSnapshot,
|
||||
FeatureSchemaConfig,
|
||||
FeatureLock,
|
||||
FeatureModifier,
|
||||
FeatureExecQuery,
|
||||
FeatureUpsert,
|
||||
},
|
||||
Features: AllFeatures,
|
||||
}, schemas...)
|
||||
require.NoError(err)
|
||||
require.NotNil(graph)
|
||||
@@ -493,18 +482,7 @@ func TestGraph_Gen(t *testing.T) {
|
||||
Storage: drivers[0],
|
||||
Templates: []*Template{external, skipped},
|
||||
IDType: &field.TypeInfo{Type: field.TypeInt},
|
||||
Features: []Feature{
|
||||
FeaturePrivacy,
|
||||
FeatureIntercept,
|
||||
FeatureEntQL,
|
||||
FeatureNamedEdges,
|
||||
FeatureSnapshot,
|
||||
FeatureSchemaConfig,
|
||||
FeatureLock,
|
||||
FeatureModifier,
|
||||
FeatureExecQuery,
|
||||
FeatureUpsert,
|
||||
},
|
||||
Features: AllFeatures,
|
||||
}, schemas...)
|
||||
require.NoError(err)
|
||||
require.NotNil(graph)
|
||||
|
||||
Reference in New Issue
Block a user