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 · 3 comments

Comments

3 participants
@leopku
Copy link

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

This comment has been minimized.

Copy link
Member

commented Apr 30, 2019

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

@sebastianwebber

This comment has been minimized.

Copy link

commented Apr 30, 2019

Hi @leopku ,

How do you think that GraphQL support should be implemented?

Show us some use cases if you can.

@leopku

This comment has been minimized.

Copy link
Author

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
            }
          }
        }
      }
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.