Currently only symbols can be used for both the resource type and the array of fields for the fields render option.
In the context of a web request, the request parameters are usually strings by default which means a conversion to symbols is required before they can be used.
Currently only symbols can be used for both the resource type and the array of fields for the
fields
render option.In the context of a web request, the request parameters are usually strings by default which means a conversion to symbols is required before they can be used.