You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: