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

[RFC][WIP] Resource Routing #1476

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

[RFC][WIP] Resource Routing #1476

wants to merge 1 commit into from

Conversation

bf4
Copy link
Member

@bf4 bf4 commented Jan 28, 2016

Per: #1236

The content in this PR is a bookmark I intend to expand, submitted early as a
work in progress (WIP) for surfacing the concern.

Since the JSON API spec includes resource routing concerns, we should consider
how we want to handle that in AMS.

For this first starting point, I basically copied the results of the hard work
of the JSONAPI::Resources team and their
demo app.

@bf4
Copy link
Member Author

bf4 commented Jan 28, 2016

cc @dgeb

The JSON API resource routing declaration would be:

```ruby
contraint mime_type: :json_api do
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

constraint is for the wrong keyword here. What I want is more of a concern that extends resources.

@bf4 bf4 added this to the 0.10 milestone Feb 23, 2016
@bf4
Copy link
Member Author

bf4 commented Apr 1, 2016

Related: #834

@@ -0,0 +1,111 @@
- Start Date: (2016-01-28)
- RFC PR: https://github.com/rails-api/active_model_serializers/pull/dddd
- ActiveModelSerializers Issue: https://github.com/rails-api/active_model_serializers/issues/dddd
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1476

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant