-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
This may likely be a breaking change but no external schema can be created by using any existing as a template. Im aware this is being though about in other approaches but we currently cannot implement ZogSchema/ComplexSchema
Cannot use (*StatusSliceSchema)(nil) (type *StatusSliceSchema) as the type zog.ZogSchema
Type cannot implement zog.ZogSchema as it has a non-exported method and is defined in a different package
type ZogSchema interface {
process(ctx *p.SchemaCtx)
validate(ctx *p.SchemaCtx)
getType() zconst.ZogType
setCoercer(c CoercerFunc)
}
This prevents advanced use cases...
Metadata
Metadata
Assignees
Labels
No labels