Skip to content

Using Serializers from Fractal #4

Closed
@codivist

Description

@codivist

Does this have the ability to use Serializers from Fractal?

I've tried adding in the $manager->setSerializer(new DataArraySerializer()); as well as the JsonApiSerializer(), but I just receive errors as the third variable for the withItem method expects the meta array.

I'm building an api that will be consumed by Ember and I need to serialize the data so that the user reponse is 'user' instead of 'data'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions