Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Allow usage of formats other than JSON? #556

Open
dancojocaru2000 opened this issue Aug 4, 2019 · 1 comment
Open

Allow usage of formats other than JSON? #556

dancojocaru2000 opened this issue Aug 4, 2019 · 1 comment

Comments

@dancojocaru2000
Copy link

Although "the GraphQL spec does not require it", there doesn't seem a way to use anything other than JSON with this. Is there any plan to allow a custom format to be used?

@dancojocaru2000 dancojocaru2000 changed the title Allow usage of format other than JSON? Allow usage of formats other than JSON? Aug 4, 2019
@SamMaxwell
Copy link

My project uses express-graphql and I require it to support export to xlsx, csv and pdf. It would be quite easy, if express-graphql provided a way to override or extend the sendResponse function. For now I have to override the express response object in middleware.

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

No branches or pull requests

2 participants