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

Based on auth middleware, fix the output of communityJoin mutation #45

Closed
noghartt opened this issue Dec 16, 2021 · 1 comment · Fixed by #51
Closed

Based on auth middleware, fix the output of communityJoin mutation #45

noghartt opened this issue Dec 16, 2021 · 1 comment · Fixed by #51

Comments

@noghartt
Copy link
Owner

create the auth auth middleware based on this https://github.com/daniloab/rbaf-graphql-api/blob/master/src/server/app.ts#L18

then, expose me to the query type, and should be enough. This will help you to avoid declaring me on mutation output fields.

Originally posted by @daniloab in #41 (comment)

@noghartt
Copy link
Owner Author

This issue depends on #44

@noghartt noghartt linked a pull request Dec 29, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant