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

use interceptors for argument and response logging #7

Open
fbielejec opened this issue Dec 11, 2020 · 0 comments
Open

use interceptors for argument and response logging #7

fbielejec opened this issue Dec 11, 2020 · 0 comments

Comments

@fbielejec
Copy link
Member

fbielejec commented Dec 11, 2020

Problem

GQL resolvers implement the same pattern of logging the arguments, binding the response in a let ninding, logging the response and returning.
Example

Existing endpoints would be greatly simplified by adding an interceptor / middleware that logs those for every request

Implementation

Known steps towards feature implementation.
What needs further specifying and investigating.

Acceptance Criteria

  • argument and response logging middleware
  • resolvers cleaned of log calls

Notes

It is possible to replace the webserver with ring or yada if assignee deems it necessary. In such a case it would be nice to keep a GraphQL ide, for example with:

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

1 participant