Skip to content

Graphene Django Snippets and AutoComplete is a VS Code django graphene extension that gives graphene django snippets and minimum autocompletion functionality.

Notifications You must be signed in to change notification settings

MainaKamau92/graphene_django_snippets

Repository files navigation

Graphene Django Snippets and AutoComplete

Graphene Django Snippets and AutoComplete is a django graphene extension that gives graphene django snippets and minimum autocompletion functionality.

Features

Some popular commands include:

  • command "!query": Query class with two reslove methods
  • command "!mutate" : mutate method with info and **kwargs params
  • command "!fullquery" : mininum skeleton of the query class
  • command "!fullmutate" : mininum skeleton of the mutate class

Some more features in the extension include graphene django regular code snippets ranging from query skeletons to graphene types and some autocompletion functionality.

Minimum Skeleton for Mutations and Queries snippets:

full_query_and_mutate

resolve methods and info contexts with is_authenticated() and is_anonymous() methods options:

info_context

Model types skeleton snippets:

model_types_class

Schemas can be run as well, together with a path snippet for the urls.py file:

mutation_query_schema

With some of the popular autocompletes for graphene django:

type_autocomplete

Release Notes

This is the initial release of the graphene snippets extension.

1.0.0

Initial release of Graphene Django Snippets

Enjoy!

About

Graphene Django Snippets and AutoComplete is a VS Code django graphene extension that gives graphene django snippets and minimum autocompletion functionality.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published