angular-restmod icon indicating copy to clipboard operation
angular-restmod copied to clipboard

[bug] serialize with params is not working

Open masterspambot opened this issue 9 years ago • 1 comments

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.

masterspambot avatar Nov 25 '15 13:11 masterspambot

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.

iobaixas avatar Dec 04 '15 19:12 iobaixas