Skip to content

Missing custom root ability in 0.10.x #1151

Closed
@yoda

Description

@yoda

The ability to customise the root json key has gone missing in 0.10.x. I think there has been some sort of merge issue or divergence from master as this doesn't seem to occur on master.

Problem on 0-10-stable
https://github.com/rails-api/active_model_serializers/blob/0-10-stable/lib/active_model/serializer.rb#L170-L172

Issue seemed to occur at:
3296912

Then it seems it was recitifed in this saga:
#1013

Currently on master:
https://github.com/rails-api/active_model_serializers/blob/master/lib/active_model/serializer.rb#L125-L127

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions