A bit unclear about the purpose of `declareExternallyReferenced` and intention
v-ahuja opened this issue · 2 comments
v-ahuja commented
My use case is the following:
- I'd like
schema_one.json
to depend onschema_two.json
- Generated file
schema_two.ts
should reference generated filedschema_two.ts
While testing declareExternallyReferenced false
via the CLI, I see that nothing in definitions is generated in schema_one.ts
. However, my expectation was that only external types wouldn't be generated.
For now, im going to stick everything in one .json
schema file. I think it might be worthwhile having a bit of a further explanation in the README.md
as I see other people also asking questions about this.
P.S. Very useful tool and thank you for making it.
GabenGar commented
Can you provide the example schemas at least?