Skip to content

Conversation

FauxFaux
Copy link

Add a new option, lazyLoadApiSpecs, which causes Api Specs to be loaded on first use, instead of on startup.

In tests on our app, eagerly loading all of the possible sets of specs takes tens of seconds, and it is very annoying, so this would be very useful for testing.

Fixes #609.

This branch also currently contains some random changes that were necessary to get the tests to run properly on my machine, which I'm guessing you don't want. Also, please run prettier over the whole codebase.

@FauxFaux FauxFaux marked this pull request as ready for review April 13, 2023 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Middlewares should be lazily loaded

1 participant