However, let's say an article with title of bad fails a validation check. What kind of path should I return to the router to show that the second article (which obviously can't have an id) has a validation error?
Or, do I need to restrict Falcor to only add one article at a time, then I can quite happily throw an Error?
Let's say I've set up a route to add articles.
The
arguments
are an array of articles to add. Normally I'd return a value like this to the router.However, let's say an article with title of
bad
fails a validation check. What kind of path should I return to the router to show that the second article (which obviously can't have anid
) has a validation error?Or, do I need to restrict Falcor to only add one article at a time, then I can quite happily throw an
Error
?Thanks in advance.