Skip to content

Error on type of Map #186

@nino-moreton

Description

@nino-moreton

When I give a schema field of
image
it returns with error

graphql-compose-mongoose/node8/fieldsConverter.js:101
        throw new Error(`Field ${name} does not have schema property`);
        ^

Error: Field contact does not have schema property

I just copy and pasted the example here for Maps https://mongoosejs.com/docs/schematypes.html#maps

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