Skip to content

Type boolean in grape entity is not working with default #198

Open
@brahamshakti

Description

@brahamshakti

Hi, This code is not working

expose :active, documentation: { type:  'boolean', default: true, desc: 'If the code can be used'}

It is generating a schema as {"active": false}. Any Thing wrong with code?

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