jsonschema-go icon indicating copy to clipboard operation
jsonschema-go copied to clipboard

should InterceptType be called after options applied?

Open Rainshaw opened this issue 1 year ago • 1 comments

https://github.com/swaggest/jsonschema-go/blob/d4b7536630ed226438fc6fc2b3226a3f1a0ee285/reflect.go#L229-L244

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.

Rainshaw avatar Apr 07 '23 08:04 Rainshaw