Closed gocanto closed 8 years ago
@gocanto This is an intended feature : 3. Caching routes while using api-tester is dangerous.
how so?
@gocanto Well, my point is you cache routes only in production enviroment. Api tester is not intended for production usage as it provides no security. Hence, weird exception.
Any arguments against the feature? Except for that it's weird (which I know). : 3
Whether you canchebthe rountes or not, this is a pkg that never is gonna be in prod, so there is not reason to have this set up. This is my thought
It could end up in prod by mistake. It's merely fool proof measure.
[LogicException] Unable to prepare route [api-tester/* routes should not be cached] for serialization. Uses Closure.