You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That depends on how rc.InterceptType is handled.
If jsonschema.InterceptType function is used, original interceptor will be preserved and new one would be added to the chain.
But it is also possible to replace rc.InterceptType and discard all prev configuration, that's up to a developer.
Though, this is not so relevant now, as exported rc.InterceptType has got deprecated in favor of unexported rc.interceptSchema and jsonschema.InterceptSchema config option.
jsonschema-go/reflect.go
Lines 229 to 244 in d4b7536
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.
The text was updated successfully, but these errors were encountered: