Hacker News new | ask | show | jobs
by matthewrudy 3781 days ago
If you look at the code, that's actually what the author has done.

They've made a `make_unauthenticated_request` function that does the work, and the macro just calls it.

But, I agree, I'd probably have skipped the macro. And DRYed it up with just the function.

1 comments

Right. That's exactly what I'm trying to point out. The point of the macro is to get the test form stuff.