I am trying to use the {readOnly: true} functionality with ActiveModelSerializer by customizing the serialize method to ignore readOnly attributes like this for JSONAPISerializer or this for RESTSerializer, to prematurely save on upload bandwidth.
Does anyone know if something similar can be done with ActiveModelSerializer?
Aucun commentaire:
Enregistrer un commentaire