This is great and I liked it. One question though! Is it okay to clutter the route file with logic? We also need to account for testing in that case I guess.
That's a good point! Like we do with resolvers and guards, I would also have that function in a separate file. Like you said, to unclutter the route file
Thank you, I didn't know about this
This is great and I liked it. One question though! Is it okay to clutter the route file with logic? We also need to account for testing in that case I guess.
That's a good point!
Like we do with resolvers and guards, I would also have that function in a separate file.
Like you said, to unclutter the route file