The incremental build times got significantly longer after I added JSON schema generation.
But it's supposed to be stable and not change between releases, let alone incremental builds, so we really don't need to re-generate it on every build. Instead, we could generate it once, hardcode it, and then only generate it when running tests and ensuring that it's the same as the one we've recorded earlier.
Instead of using this macro, we need to capture its output, hardcode it, and write a test that calls the macro and ensures our hardcoded string is the same as the macro output.
The incremental build times got significantly longer after I added JSON schema generation.
But it's supposed to be stable and not change between releases, let alone incremental builds, so we really don't need to re-generate it on every build. Instead, we could generate it once, hardcode it, and then only generate it when running tests and ensuring that it's the same as the one we've recorded earlier.