graphitation
graphitation copied to clipboard
GraphQL tooling & runtime support needed for MS Teams and beyond
When node ids are truly unique, Apollo Cache can be configured to not prefix typename. In this case, we need to adjust the cache redirect from the node field policy,...
* Only fragments on a Node type will create a new observable
It would be ideal if our transformer was webpack loader agnostic and not add extra parsing/printing overhead. For instance, TMP wants to use esbuild-loader instead of ts-loader (and esbuild doesn't...
Docs for package X should simply exist at `./packages/X/docs` so a source reader can easily find them. See * https://github.com/facebook/docusaurus/issues/852#issuecomment-641196154 * https://github.com/facebook/docusaurus/issues/4085
- [x] Setup docusaurus - [x] Import and modify docs - [x] Remove comment docs from hooks and link to public docs instead - [ ] Upstream doc changes
Current version was a cleanroom implementation, but I think that it makes sense by now to just try a direct port instead to achieve full support/parity. WIP here https://github.com/microsoft/graphitation/tree/alloy/port-upstream-mock-payload-generator
We need to allow the user to write imports like the following, so they remain portable with `react-relay` ```ts import { graphql, useLazyLoadQuery, } from "@graphitation/apollo-react-relay-duct-tape"; ```
Don't re-invent the wheel, check the IR metadata that relay-compiler normally emits to see if it has stuff we re-implemented.