Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnnotateEdges ¶
AnnotateEdges adds edge annotations to underlying mixin edges.
func AnnotateFields ¶
AnnotateFields adds field annotations to underlying mixin fields.
Types ¶
type Schema ¶
type Schema struct{}
Schema is the default implementation for the ent.Mixin interface. It should be embedded in end-user mixin as follows:
type M struct { mixin.Schema }
func (Schema) Annotations ¶
func (Schema) Annotations() []schema.Annotation
Annotations of the mixin.
func (Schema) Interceptors ¶ added in v0.11.5
func (Schema) Interceptors() []ent.Interceptor
Interceptors of the schema.
Click to show internal directories.
Click to hide internal directories.