-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Lines 229 to 244 in d4b7536
| rc := ReflectContext{} | |
| rc.Context = context.Background() | |
| rc.DefinitionsPrefix = "#/definitions/" | |
| rc.PropertyNameTag = "json" | |
| rc.Path = []string{"#"} | |
| rc.typeCycles = make(map[refl.TypeString]bool) | |
| InterceptType(checkSchemaSetup)(&rc) | |
| for _, option := range r.DefaultOptions { | |
| option(&rc) | |
| } | |
| for _, option := range options { | |
| option(&rc) | |
| } |
the rc instance does not set InterceptProperty filed, so the L236 just set rc.InterceptProperty = checkSchemaSetup.
When the options applied, the InterceptProperty would be rewrite.
Metadata
Metadata
Assignees
Labels
No labels