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

[Feature Request]Any plan for graphql? #353

Open
leopku opened this issue Apr 24, 2019 · 9 comments
Open

[Feature Request]Any plan for graphql? #353

leopku opened this issue Apr 24, 2019 · 9 comments
Labels

Comments

@leopku
Copy link

leopku commented Apr 24, 2019

Thanks for this awesome project.

I am now running prest with another software which provides graphql api.
If prest can support graphql directly, I can only run prest in my project.

Is there any plan for supporting graphql?

Thanks again.

@leopku leopku changed the title [Feature Request]Any plan graphql? [Feature Request]Any plan for graphql? Apr 24, 2019
@avelino avelino added feature New fetures question labels Apr 30, 2019
@avelino
Copy link
Member

avelino commented Apr 30, 2019

I think it's important to support graphql, you will be very welcome to pREST the implementation.

@sebastianwebber
Copy link
Contributor

Hi @leopku ,

How do you think that GraphQL support should be implemented?

Show us some use cases if you can.

@leopku
Copy link
Author

leopku commented May 5, 2019

Hi @sebastianwebber , sorry for reply so late.

A sample like a query of deep nested relationships.

{
  student {
    id
    name
    class {
      id
      name
      teacher {
        id
        name
      }
      school {
        id
        name
        county {
          id
          name
          province {
            id
            name
            country {
              id
              name
            }
          }
        }
      }
    }
  }
}

@pomazanbohdan
Copy link

https://hasura.io/ ?

@ocomsoft
Copy link

ocomsoft commented Feb 3, 2020

I am not sure but I think Hasura's server is implemented in Haskell. https://github.com/hasura/graphql-engine/tree/master/server I maybe wrong.

@leopku
Copy link
Author

leopku commented Jun 15, 2020

I am not sure but I think Hasura's server is implemented in Haskell. https://github.com/hasura/graphql-engine/tree/master/server I maybe wrong.

Yes, you are right. Hasura was built with Haskell.

I wanna keep tech stack focusing on go.

@avelino
Copy link
Member

avelino commented Jun 15, 2020

@leopku you could help pREST support GraphQL, feel invited to be part of the project

@leopku
Copy link
Author

leopku commented Jun 16, 2020

@avelino Thanks for your inviting.

I'll read the codes and have a try.

@palevi67
Copy link

Have a look at PostGraphile: https://www.graphile.org/

@avelino avelino added the EPIC label Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants