Open imrefazekas opened 8 years ago
@imrefazekas thanks for jumping here and making the changes. I'm sure @EthanRBrown will be happy too since he's working on the next edition of his book.
A couple of comments about this commit.
context
property for apiOptions uses a '/' but in your commit you've set it to an empty string. Was that a change to connect-rest in v2+?domain
property which @EthanRBrown used to define a unique execution context for the api. Is there a better way to define that in connect-rest
?apiOptions.domain.on
domain error handler which @EthanRBrown references in the book. Is there a better way to define that?Again, thank you so much for jumping in and helping make the book even better and helping readers like myself leverage the updates.
Dear Ethan, I moved the code to connect-rest 2.0. The very minimal to make it work, test ran without error.