We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Cannot set a custom serializer at runtime.
Typically, this won't be needed - however I've been thinking about a different Serializer for Error Transformers:
{"error":{"message":"Access Denied"}}
This would require a custom serilizer appending data to an 'error' key, similar to the DataArraySerilizer bundled with Fractal itself.
Can possibly just add it onto the service class:
Fractal::setSerializer(new \Acme\ErrorArraySerializer);
The text was updated successfully, but these errors were encountered:
Thinking that #2 could be a better way to provide this.
Generally the service class was only intended to be a non-locator type Facade to provide a really simple implementation.
If #2 is fixed, then this will probably address this issue also.
Sorry, something went wrong.
Manager is now exposed in 0.0.2, fixing #1 and #2.
No branches or pull requests
Cannot set a custom serializer at runtime.
Typically, this won't be needed - however I've been thinking about a different Serializer for Error Transformers:
This would require a custom serilizer appending data to an 'error' key, similar to the DataArraySerilizer bundled with Fractal itself.
Can possibly just add it onto the service class:
The text was updated successfully, but these errors were encountered: