-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Move from ActiveModelSerializers::Model to ActiveModel::Serializer::Model #1296
Conversation
…odel The `ActiveModelSerializers::Model` is the only public API under this namespace. To keep consistency move to `ActiveModel::Serializer::Model`.
[ci skip]
I put it there on purpose, see (ongoing) discussion of the reasons in #1298 Holding this for now |
@maurogeorge I think the consensus was to use |
Consensus? B mobile phone
|
Should we rename the gem, too, then? B mobile phone
|
The gem is already active_model_serializers, which I think fits well with ActiveModel::Serializers::___ |
@NullVoxPopuli thanks for the feedback. I will wait for a feedback of the team #1310 (comment) and when we have in the same page I will work on it. |
But the gem is not activemodel::serializers and rails has that namespace already B mobile phone
|
This can't be merged until #1310 is resolved Changing the gem name is a pretty big deal, as is piggy-backing on existing rails namespaces |
the rails namespace is a module, which is fine. |
Closing as resolved in #1310 |
👍 |
Hi guys,
Today the
ActiveModelSerializers::Model
is the only public API under this namespace.To keep consistency move to
ActiveModel::Serializer::Model
.Makes sense to you?
Thanks