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
Hi, I noticed that when I implement TextMarshaler on a type, the schema that I set through a Preparer interface is ignored. Looks like it gets picked up by isWellKnownType in reflect.go before PrepareJSONSchema is called.
I'd like some way similar to what was done here, #62 but to make sure it's type is not overridden because it implements TextMarshaler.
The text was updated successfully, but these errors were encountered:
Hi, I noticed that when I implement TextMarshaler on a type, the schema that I set through a Preparer interface is ignored. Looks like it gets picked up by
isWellKnownType
inreflect.go
beforePrepareJSONSchema
is called.I'd like some way similar to what was done here, #62 but to make sure it's type is not overridden because it implements TextMarshaler.
The text was updated successfully, but these errors were encountered: