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

Add options routes for routes with CORS pipeline in it #659

Closed

Conversation

NeverHappened
Copy link
Contributor

Description of the Change

Add the options routes for routes with CORS pipe

Alternate Designs

Thought about other ways for doing this, but they were worse or impossible.
Maybe missed something.

Possible Drawbacks

I don't like that I added dependency between router and pipeline handlers. Couldn't thought of any other way.
Also the function that I call is in the server.cr call, the main point of app, kinda becomes polluted with unnecessary details.

@faustinoaq
Copy link
Contributor

Fixes #240

@eliasjpr
Copy link
Contributor

Closing this PR in favor of #700

@eliasjpr eliasjpr closed this Mar 18, 2018
@faustinoaq faustinoaq removed the pr:wip label Mar 18, 2018
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

Successfully merging this pull request may close these issues.

3 participants