angular-restmod
angular-restmod copied to clipboard
[bug] serialize with params is not working
When passing Serializer
object with defined param
like in example below:
fieldType: {
serialize: 'Enum',
param: FieldTypesEnum
}
param is not passed down to encode
and decode
function.
The serialize
modifier does not provide a param
option. I intended to add a way to pass options to the serializer constructor but never got to it.