Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update of embedded types not working #34

Open
macrozone opened this issue Mar 29, 2019 · 0 comments · May be fixed by #35
Open

update of embedded types not working #34

macrozone opened this issue Mar 29, 2019 · 0 comments · May be fixed by #35

Comments

@macrozone
Copy link

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

macrozone added a commit to panter/ra-data-opencrud that referenced this issue Mar 29, 2019
@macrozone macrozone linked a pull request Mar 29, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant