strawberry-graphql / strawberry

A GraphQL library for Python that leverages type annotations 🍓
https://strawberry.rocks
MIT License
4.01k stars 533 forks source link

Update documentation code snippets to run as is #1294

Open patrick91 opened 3 years ago

patrick91 commented 3 years ago

As suggested by @Kludex we should be allow to copy a snippet of code from our documentation and run it as is, without code changes. Pydantic does this in their docs :)

I think this might be a good first issue, if you want to work on this feel free to choose any code snippet and send a PR for it, no need to convert all of them at once 😊

Upvote & Fund

Fund with Polar

sighclone commented 3 years ago

Hi! I'd like to do this

patrick91 commented 3 years ago

@sighclone sure, feel free to send a PR :)

sighclone commented 3 years ago

@patrick91 Raised PR #1296 🙌

rounit08 commented 3 years ago

@patrick91 Can I do this?

patrick91 commented 3 years ago

@patrick91 Can I do this?

sure, send a PR :)

subhamgcon commented 3 years ago

@patrick91 Can I work on this?

patrick91 commented 3 years ago

@patrick91 Can I work on this?

Sure, send a PR :)

HmbleCreator commented 1 month ago

hey, I would love to work on this issue, can you assign it to me?

erikwrede commented 1 month ago

@HmbleCreator no need to wait for an assignment. :) feel Free to work on a PR and reach out on discord if you have a POC in place!