Skip to content

update of embedded types not working #34

@macrozone

Description

@macrozone

if you use mongodb connector with @embedded-types, the update failes on the client:

Cannot read property 'name' of null

reason is, that ra-opencrud always looks for a connect mutationType: https://github.com/Weakky/ra-data-opencrud/blob/master/src/buildVariables.ts#L234

but in this case, there is no connect type. We would probably need a create type here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions