forked from OpenNeo/impress
When building the code to await auth before sending _any_ GraphQL queries, I didn't realize that auth might be kinda slow. So, I've added a hack to let me mark queries with no user-specific data to skip auth, and applied that to the main queries on the homepage. I think this is a hint that we might want to change our strategy - e.g. to flip it to hackily mark that auth _is_ required, or to create wrappers or option-builder helpers for logged-in queries, etc. I also notice that SSR would have resolved this particular case... |
||
|---|---|---|
| .. | ||
| app | ||
| server | ||
| index.js | ||