ent: export query interceptors (#3157)

This commit is contained in:
Ariel Mashraki
2022-12-19 10:17:10 +02:00
committed by GitHub
parent 3328201ba8
commit f226627d67
493 changed files with 22829 additions and 10766 deletions

View File

@@ -18,7 +18,6 @@ import (
// type M struct {
// mixin.Schema
// }
//
type Schema struct{}
// Fields of the mixin.
@@ -33,6 +32,9 @@ func (Schema) Indexes() []ent.Index { return nil }
// Hooks of the mixin.
func (Schema) Hooks() []ent.Hook { return nil }
// Interceptors of the schema.
func (Schema) Interceptors() []ent.Interceptor { return nil }
// Policy of the mixin.
func (Schema) Policy() ent.Policy { return nil }