Skip to content

Question: Versioning Serializers #144

Closed
@enrico

Description

@enrico

Hello,

I just started playing with active model serializers.

Although my API is v1, I am trying to understand what the scenario looks like when I have to release v2.

What's the recommended way to handle different serialized attributes depending on version in active model serializers?

Right now, I'm planning to have 2 sets of namespaced API controllers, but wanted to know if it makes sense to also namespacing the serializer classes....

If I do this, will the has_many and has_one methods respect the namespace?

Does anyone have any input on what the recommended way is?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions