event-driven-io / emmett

Emmett - a Node.js library taking your event-driven applications back to the future!
https://event-driven-io.github.io/emmett/
195 stars 19 forks source link

Updated CreatedHttpResponse not to require both createdId and url #71

Closed oskardudycz closed 5 months ago

oskardudycz commented 5 months ago

Sometimes there's no clear record id to return, so forcing user to provide createdId is redundant. Just redirect is fine.