Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldAnnotator ¶
type FieldAnnotator interface {
AnnotateField(schema *base.Schema, desc protoreflect.FieldDescriptor, onlyScalar bool) *base.Schema
}
type FieldReferenceAnnotator ¶
type FieldReferenceAnnotator interface { // Annotate a field reference. This takes in the PARENT of the field, because with references // we can only annotate on the things on the parent like the list of required attributes. AnnotateFieldReference(parent *base.Schema, desc protoreflect.FieldDescriptor) *base.Schema }
type MessageAnnotator ¶
type MessageAnnotator interface {
AnnotateMessage(schema *base.Schema, desc protoreflect.MessageDescriptor) *base.Schema
}
Click to show internal directories.
Click to hide internal directories.