Skip to content

Mixed Type missing #2

@AlexAlbala

Description

@AlexAlbala

I have been working with mongoose-jsonform in several projects and it's working fine.

Now I want to use "Mixed" schema type but I have seen that it is not supported yet.

I have changed the switch inside getType function (mongoose-jsonform.js) and I added the case:

case('Mixed'):
return {type: 'object'};

And it is working for me.

I don't understand why are you saying that Mixed type is not ambiguous, I am missing something ? What am I doing wrong?

Thank you for your time :)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions