Open hermanbanken opened 2 years ago
Removing node_modules/json-schema-to-typescript/dist/src/optimizer.js
from running (direct return via return ast
at the top), both makes the generation nearly instant, as fixes the issue... but no idea what isn't done then...
Updating json-schema-to-typescript to v11 seems to fix the issue, and seems to have no further downsides/impact on our code generation.
One of the dependencies (
json-stringify-safe
) throws an error when generating our schema. The error is:Just reporting this here, before I dive deeper into the issue.