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

compatibility with OpenCRUD #1358

Closed
mingzhou opened this issue Jan 10, 2019 · 6 comments
Closed

compatibility with OpenCRUD #1358

mingzhou opened this issue Jan 10, 2019 · 6 comments

Comments

@mingzhou
Copy link

Is Hasura GraphQL-Engine compatible with OpenCRUD or any plan about this?

@lishine
Copy link

lishine commented Jan 19, 2019

Please answer

@0x777
Copy link
Member

0x777 commented Jan 22, 2019

No. The spec currently looks like work in progress and it'll not be easy for us to support something which might change in future. We'll maybe revisit this when there is a release to see if it's viable to implement the spec.

@0x777 0x777 changed the title compatible with OpenCRUD compatibility with OpenCRUD Jan 22, 2019
@mcmar
Copy link

mcmar commented Jul 3, 2019

@0x777
There's no chance that OpenCRUD will change in the future because Prisma is officially abandoning GraphQL and will no longer support OpenCRUD. If you supported it according to the current spec, then I'm sure plenty of Prisma customers would move over to Hasura. Don't you want their business?

@mcmar
Copy link

mcmar commented Jul 5, 2019

@0x777 If you're not going to support it, then can you at least provide examples of how to migrate from OpenCRUD with prisma-binding to HasuraCRUD™ with graphql-binding. I can setup all the tooling, but what I can't figure out is how to use the info object that's expecting a schema like { id, name } with HasuraCRUD, which expects a schema like { returning { id, name } }. I've never found a good tool to modify the info object, which means that I would have to modify my API's schema to also wrap everything inside returning, which would mean changing my frontend. I'd like to avoid changing the frontend, which means keeping my API schema the same, which means somehow wrapping/unwrapping the info object of my resolver with returning. If that's not possible, then there's no way for anybody to migrate smoothly from Prisma to Hasura.

@coco98
Copy link
Contributor

coco98 commented Jul 12, 2019

Closing this issue, because support for OpenCRUD is not planned.
We can also keep the discussion about migration from prisma in #2448 so that everything is in one place :)

@alan345
Copy link

alan345 commented Jul 11, 2020

@mcmar, what did you finally do? Have you considered migrating to prisma2 or it is not an option? Have you managed to migrate to hasura?

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

No branches or pull requests

7 participants