powertools-lambda-java icon indicating copy to clipboard operation
powertools-lambda-java copied to clipboard

feat: module to ease cors configuration

Open jeromevdl opened this issue 3 years ago • 0 comments

Issue #, if available:

Description of changes:

This module simplifies the configuration of CORS headers when using API Gateway and Lambda proxy. It removes boilerplate code in the function itself.

Checklist

  • [x] Meet tenets criteria
  • [x] Update tests
  • [ ] Update docs => will do once code (and dev experience) is OK
  • [x] PR title follows conventional commit semantics

Breaking change checklist

RFC issue #:

  • [ ] Migration process documented
  • [ ] Implement warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

jeromevdl avatar Apr 13 '22 08:04 jeromevdl