mirror of
https://github.com/ent/ent.git
synced 2026-03-05 19:35:23 +03:00
ent: export query interceptors (#3157)
This commit is contained in:
@@ -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 }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user