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

Fixes #30, Fixes #34, Fixes #36, #35

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

macrozone
Copy link

@macrozone macrozone commented Mar 29, 2019

Fixes #30
Fixes #34
Fixes #36

superseeds #31 because i needed to refactor it a bit

@macrozone macrozone changed the title Fixes #30 and Fixes: #34 Fixes #30, Fixes #34, Fixes #36, Mar 29, 2019
}
if (!inputType) {
return acc;
}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i am not sure if there are some cases where we should add the property despite there is no input type.

when key is id is one exception, that's why i moved it on top of the function. But maybe there are other cases?

...data
}
};
}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this part is mostly duplicated from buildUpdateVariables, we should generalize that later

@macrozone
Copy link
Author

@Weakky any chance to get it merged?

@prestontighe
Copy link

prestontighe commented Jul 26, 2019

@macrozone He doesn't seem to respond. Ran into #36 immediately. +1

@macrozone
Copy link
Author

@prestontighe :-(

I will fork and publish, if we don't get a response soon. In the meantime i am using https://www.npmjs.com/package/patch-package to apply the patch

@macrozone
Copy link
Author

@Weakky any chance that you could review this?

also we should check compatibility with react-admin 3.0.0. I tried the alpha and it kind-of works, but i have some problems with ReferenceInput

@macrozone
Copy link
Author

@Weakky any updates or is it possible to get write access to npm and to this repo here, so that the community can take over?

@macrozone
Copy link
Author

@Weakky we know you guys are busy with prisma2, but couldn't you just take 15mins of your time to review that and maybe release it?

i think react-admin integration could be a big leverage for prisma, but i fear it does not get the attention that it should in my opinion

@macrozone macrozone mentioned this pull request Sep 3, 2019
@prestontighe
Copy link

@macrozone Maybe you could ping some of the Prisma guys to nudge him on Slack or something :) You also might be able to find him by joining the Prisma Slack. I remember being able to publicly join the Graphcool Slack awhile back.

@marcantoine
Copy link

Hi @prestontighe @macrozone,
I've made a fork of this package a few months back since the prisma team is focus on the next prisma version:

https://github.com/marcantoine/ra-data-graphql-prisma

I fixed a few queries / mutations but there is still of work to do on it, and i might need your fixes as well :)

Since i'm using react-admin with prisma in production, and it might take a while before we can migrate to prisma 2, I think it'd make sense to maintain this module for a couple of year.

Feel free to post issues and send PR on the fork!

@macrozone
Copy link
Author

@marcantoine cool! will check out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants