Closed GavinJoyce closed 11 years ago
Supporting comma delimited string will allow us to pass the parms to the serializer directly:
URL: /api/v1/channels.json?includes=applications,domains,configurations
/api/v1/channels.json?includes=applications,domains,configurations
render json: ChannelSerializer.page(params)
as well as passing in a hash:
ChannelSerializer.page({page_size: 100, includes: [:applications, :domains, :configurations]})
https://github.com/RestPack/restpack-serializer/commit/2c5cfe8e24d77f39e35671d087e364acfcbb9067
Supporting comma delimited string will allow us to pass the parms to the serializer directly:
URL:
/api/v1/channels.json?includes=applications,domains,configurations
render json: ChannelSerializer.page(params)
as well as passing in a hash:
ChannelSerializer.page({page_size: 100, includes: [:applications, :domains, :configurations]})