Skip to content

convert mongoid bson object into string by default #104

Open
@hardywu

Description

@hardywu

I am writing codes like

      expose :store_id do |model|
        model.store_id.to_s
      end

everywhere.

Wouldn't it be great to have grape-entity to convert mongo bson object into string by default?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions