When trying to pass an enum object to serializer I get the following error:
#<FastJsonapi::MandatoryField: id is a mandatory field in the jsonapi spec>
@drop_down_values = Organisation.ownerships
where @drop_down_values has the enum values from ownership column.
render json: DropDownValueSerializer.new(@drop_down_values).serialized_json