YousefED / typescript-json-schema

Generate json-schema from your Typescript sources
BSD 3-Clause "New" or "Revised" License
3.08k stars 318 forks source link

fix: return overrides schema in getSchemaForSymbol #590

Closed lundibundi closed 4 months ago

lundibundi commented 5 months ago

Please:

Depends on https://github.com/YousefED/typescript-json-schema/pull/589.

The getSchemaForSymbol method doesn't return schemas overridden with setSchemaOverride and instead falls back to generating the type for that schema. This PR changes the behavior to always prioritize setSchemaOverride.

domoritz commented 4 months ago

Awesome. Thanks for the pull requests. Can you update this pull request so we can merge it?

lundibundi commented 4 months ago

@domoritz done, thanks for quick merge.

When can I expect to have this released?

domoritz commented 4 months ago

v0.63.0 is out with this fix included.

lundibundi commented 4 months ago

@domoritz thank you 🎉