Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Handlers #90

Closed
metaskills opened this issue May 15, 2021 · 2 comments
Closed

Dynamic Handlers #90

metaskills opened this issue May 15, 2021 · 2 comments

Comments

@metaskills
Copy link
Member

Now that we have EventBridge Events with #82 and we can even add a dynamic event checker for Lambdakiq. But why stop there. Technically we can easily detect the event payload and use whatever Rack adapter is needed. Meaning we can drop/ignore the options hash and let the handler do all the work.

def handler(event:, context:)
  Lamby.handler $app, event, context
end
@metaskills
Copy link
Member Author

Partial work in #91

@metaskills
Copy link
Member Author

Updated Lambdakiq docs here rails-lambda/lambdakiq@11d9963

metaskills added a commit that referenced this issue May 16, 2021
Dynamic Hanlders with Automatic Rack Detection. Fixes #90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant