-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
-
It would be awesome if the docs could be updated to show how to use AMS outside of a controller. If you want to do some checking in the console, it's not clear how to view serializer output. I believe it comes down to creating the eg.
ArticleSerializerobject and passing it to an ie.FlatternJsonAdapterbut I can never remember how to do it - and I can't quickly find it even now. -
Is there a way to get the default serializer for a class, like how
render json: @articleautomatically knows how to get theArticleSerializer? I tried looking through the source for AMS but got lost. It seems theget_serializermethod might be the key but it seems to only be able to be called from within a controller.
Metadata
Metadata
Assignees
Labels
No labels