Contributing to Examples #1842
-
Hi, I'm just wondering if it's acceptable for me to make a PR to add an example of TypeGraphQL, Next.js & Formik image uploads to the examples folder? This is something that puzzled me for quite a while so just thought it'd be a nice addition to the examples in this repo for anyone else facing the same issues |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Currently our examples are quite atomic little front-end projects that highlight a particular use-case like in this case, The difference with the aforementioned example might be that instead of submitting directly you'll store it and wait for |
Beta Was this translation helpful? Give feedback.
Currently our examples are quite atomic little front-end projects that highlight a particular use-case like in this case,
FileUpload
here will highlight the file-upload one. https://github.com/FormidableLabs/urql/tree/main/examples/with-multipart/src I'd imagine this being highly similar to using any form library. We've also attempted not to capture any specific back-end in these examples as that might cause people to think that we're focussing on specific graphql-server technologies 😅The difference with the aforementioned example might be that instead of submitting directly you'll store it and wait for
onSubmit
to pass it to your mutation. If I'm wrong here I'd be happy to hear any comp…