Giter Site home page Giter Site logo

Comments (4)

bellini666 avatar bellini666 commented on June 30, 2024 3

Hey @nrbnlulu ,

1.could you provide list of the features that are divided to what to contribute to strawberry what to strawberry-django and what should stay here?

Your issue just made me create this issue on strawberry-graphql-django: strawberry-graphql/strawberry-django#139 :)

  1. do you have any plan on how to do this?

I was actually planning on doing that myself once I had some spare time, but I haven't got any yet in the last days unfortunately. I'm planning to start working on this probably by the end of the month if everything goes well though!

But since the issues there are now opened, any help with the migration process is really nice! Since most of the work here is based on strawberry-graphql-django, some of the porting should be a matter of replacing strawberry-graphql-django's implementation by the one here (in cases where we have an optimized version of the implementation), or merging both implementations, or just porting the whole module (e.g. the optimizer) directly and adding some tests for those there.

  1. I want to create a site for the documentation. I am familiar with mkdocs served by gh-pages what are your thoughts? Also, should they live inside the main strawberry site or should they be in sole strawberry-django site?

Based on the fact that most of the work in this repo is probably going to be merged in strawberry-graphql-django, it would probably be really nice to document them in its existing doc infrastructure during the migration process.

Obviously, feel free to contribute documentation back to this project, which in the end can also be ported together to there as well :)

  1. should we save the current API or prefer the strawberry-django API?

What do you mean here?

  1. any other things I should know before I dive into this?

Probably the issue that I opened on strawberry-graphql-django will help to understand what needs to be done, and is also a good place to discuss the "not so obvious things to migrate" (or in their own issues).

But feel free to hit me here or on discord if you need any help with anything :)

from strawberry-django-plus.

nrbnlulu avatar nrbnlulu commented on June 30, 2024

What do you mean here?

i.e:

  • from strawberry.django import gql or from strawberry.django import whatever
  • gql.create_mutation or strawberry.django.mutations.create

I guess it is not one answer for all but you get the concept..

from strawberry-django-plus.

bellini666 avatar bellini666 commented on June 30, 2024

What do you mean here?

i.e:

  • from strawberry.django import gql or from strawberry.django import whatever
  • gql.create_mutation or strawberry.django.mutations.create

I guess it is not one answer for all but you get the concept..

Oh I see. I created the gql shortcut because this lib's name is very long, and it is not exposed on strawberry's namespace to be used like the django's integration as strawberry.django.type for example.

We should keep its defaults there.

from strawberry-django-plus.

bellini666 avatar bellini666 commented on June 30, 2024

Fixed in https://github.com/strawberry-graphql/strawberry-graphql-django/releases/tag/v0.10.0 :)

from strawberry-django-plus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.