Is it possible to get a sub router to return a 404? I haven’t found how to do this, and it looks like status responses only come into play after Yada decides a 404 has occurred
Can you say what you mean by a sub router?
In a yada resource, there’s a field called sub router for a function that returns another resource
When I say sub router I mean that function
Ah, sub-resource. Yes, you can return nil to force a 404. Or a modified yada context with status and headers.
Thanks