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
If it generates JS (e.g. the feature request for JS creation is completed), it would be nice to resolve exported code as either common js or esm based on a combination of the (same directory or flag-argument) package.json's type & the output file's extension. At the moment, I'm have to locally wrap the code generator with some extras:
run on directories for input / output - really simple, not sure it requires a feature request, but would be nice QoL
convert the generated TS code to generate JSDocs / commonjs (its still miles ahead for integration testing) - im personally not a fan of wrapping codegen, really hard to know when i'll break it if i dont directly extend the library
Basically, I can't get my org to use TS so my workflow is sharing schemas with API consumers and use @typebox's compiler to do the live type checking.
The text was updated successfully, but these errors were encountered:
Library version:
1.7.1
JSON schema version: draft-04
I am willing to contribute to fix the issue 💚
The current behavior
It currently doesn't generate JS at all.
The expected behavior
If it generates JS (e.g. the feature request for JS creation is completed), it would be nice to resolve exported code as either common js or esm based on a combination of the (same directory or flag-argument) package.json's type & the output file's extension. At the moment, I'm have to locally wrap the code generator with some extras:
Basically, I can't get my org to use TS so my workflow is sharing schemas with API consumers and use @typebox's compiler to do the live type checking.
The text was updated successfully, but these errors were encountered: