Patrick Arminio
923d8282c7
Fix duplicated ErrorType declaration ( #539 )
...
* Add failing test case
* Fix duplicated ErrorType declaration
2019-03-31 12:01:43 +01:00
Jason Kraus
0a5020bee1
Get queryset ( #528 )
...
* first attempt at adding get_queryset
* add queryset_resolver to DjangoConnectionField and fix test failures
* cleanup get_queryset API to match proposal as close as possible
* pep8 fix: W293
* document get_queryset usage
* add test for when get_queryset is defined on DjangoObjectType
2019-03-31 12:01:17 +01:00
Gary Donovan
fcc3de2a90
Allow graphql schema export to use a canonical representation ( #439 )
...
When we use the `graphql_schema` management command, the output can vary from run to run depending on arbitrary factors (because there is no guarantee made about the order used to output JSON dictionary keys). This makes it difficult to compare two schema's at different points in time.
We address this by including a new `canonical` flag to the command, which uses standard `json.dump` funcitonality to sort dictionary keys and force pretty-printed output.
2019-03-31 11:30:29 +01:00
Mel van Londen
1ad0347479
Merge pull request #604 from GitRon/bugfix/copy-paste-error-test-function-names
...
Replaced a copy-paste error causing one test case not to run
2019-03-30 18:28:46 -05:00
Alexandre Kirszenberg
8beadc759f
Correctly propagate NonNull to inner connection type
2019-03-30 19:43:11 +01:00
Ronny Vedrilla
3c11a980fe
Python 2.7 syntax compat
2019-03-29 12:53:18 +01:00
Ronny Vedrilla
b491878c27
* Added test class for django api unittests and documentation how to use it
2019-03-29 11:51:40 +01:00
Ronny Vedrilla
547a4cb576
Missing LOC in django model form documentation ( fixes #602 )
2019-03-27 16:30:35 +01:00
Ronny Vedrilla
d5d0c519ce
Replaced a copy-paste error causing one test case not to run
2019-03-27 15:21:15 +01:00
sierreis
367c077a49
Add static files to MANIFEST.in
...
At the moment, static files are not included in the package data
when installing using setuptools. This is necessary for the
GraphiQL view.
2019-03-25 12:45:43 -04:00
MardanovTimur
f44babe153
create nodes throw terminal
2019-03-23 06:24:51 +03:00
MardanovTimur
45104749a0
fix typo
2019-03-23 06:09:20 +03:00
MardanovTimur
7ab0e806c1
added advanced utils + self written constructors
2019-03-23 04:04:31 +03:00
MardanovTimur
87a98fc6f8
fixed custom directives
2019-03-22 22:51:19 +03:00
Adam Johnson
ea2cd9894f
Always use HTTPS for CDN files ( #498 )
...
* Always use HTTPS for CDN files
There's no point using insecure, deprecated HTTP even if the current page is on HTTP.
* add integrity and crossorigin attributes
2019-03-19 20:34:10 +00:00
Atul Varma
263c7267cb
Fix code errors in form-mutations.rst ( #499 )
...
This fixes what appear to be some code errors/typos:
* The `FormMutation` class was renamed to `DjangoFormMutation`, and `ModelFormMutation` to `DjangoModelFormMutation`, in 40610c64a3
.
* `form_valid` was renamed to `perform_mutate` in 463ce68b16
.
It also clarifies a few things that I found confusing:
* It explicitly mentions that `perform_mutate` is a class method.
* The code samples now import the form classes from their packages, so readers know where to import them from too.
2019-03-19 20:24:24 +00:00
Liam O'Flynn
75bf398523
Ensure code example is fully functional ( #477 )
...
Simple change, it took me a while to figure out why the documentation's code was throwing an AssertionError :)
2019-03-19 20:22:04 +00:00
Charles Bradshaw
ae126a6dc3
Add Introspection Schema Link in Documentation ( #489 )
...
By the end of the Graphene and Django Tutorial using Relay, one might think they have finished everything needed server side for Relay, but six sections later, in a section that doesn't mention Relay in the title, the final required step for Relay is documented.
2019-03-19 20:20:26 +00:00
Jonathan Kim
6ce59aec1f
Merge pull request #538 from alqinae/cookbook-plain-2.1-compatible
...
Cookbook plain 2.1.2 compatible
2019-03-16 11:31:41 +00:00
Jonathan Kim
297b807f96
Merge pull request #508 from danpalmer/graphiql-no-querystring
...
Improve Security of GraphiQL
2019-03-16 11:30:32 +00:00
Mel van Londen
87592392de
Merge pull request #590 from graphql-python/fix-tests
...
Fix lint error
2019-03-09 22:09:13 -08:00
Jonathan Kim
ce8fa7f9f2
Fix lint error
2019-03-09 22:39:04 +01:00
Mel van Londen
a7c1d0146a
Merge pull request #526 from AlonsoEnrique/patch-1
...
fix order in params
2019-03-08 23:29:56 -08:00
MardanovTimur
85d45414f9
fix
2019-02-24 02:45:47 +03:00
Mardanov Timur Rustemovich
0616e04513
added first value by default = 100
2019-02-13 17:16:49 +03:00
Mardanov Timur Rustemovich
54fa1ee876
nonnull fields deleted
2019-02-05 12:52:19 +03:00
Mardanov Timur Rustemovich
1685b36e80
added post_resolver in django connection field
2019-02-04 13:33:51 +03:00
Mardanov Timur Rustemovich
c2e175a94c
fix
2019-02-01 05:06:03 +03:00
Mardanov Timur Rustemovich
519f67cdac
fix
2019-02-01 04:57:14 +03:00
Mardanov Timur Rustemovich
6dbc764763
upd check
2019-02-01 04:52:18 +03:00
Mardanov Timur Rustemovich
3af66f6903
added know_parent bool field in connectionfield
2019-01-29 10:28:59 +03:00
Mardanov Timur Rustemovich
612eebdd55
fixed parent field detectioon
2019-01-24 21:22:21 +03:00
Mardanov Timur Rustemovich
875bb4a024
changed filter
2019-01-22 11:33:14 +03:00
Mardanov Timur Rustemovich
8bda68fbf7
trying to fix epic error
2019-01-16 14:13:25 +03:00
Mardanov Timur Rustemovich
804a5f127e
release
2019-01-16 14:00:05 +03:00
Mardanov Timur Rustemovich
30cd430c27
fix
2019-01-16 13:42:02 +03:00
Mardanov Timur Rustemovich
e4fa8fe0b7
added support convertion for neomodel relationship
2019-01-16 13:01:37 +03:00
Mardanov Timur Rustemovich
59f73c7f27
fixed typo
2019-01-15 18:18:07 +03:00
Mardanov Timur Rustemovich
8459f7bcc8
fixed define root class
2019-01-15 18:13:18 +03:00
Mardanov Timur Rustemovich
6235b7edc2
converter.py: removed unused fields
2018-12-02 03:02:00 +03:00
Mardanov Timur Rustemovich
e2165c1324
fixed neomodel_filter_fields
2018-12-02 02:48:30 +03:00
Mardanov Timur Rustemovich
17cf3583c9
Updated setup file, fixed djangofilterconnectionfields
2018-12-02 02:21:27 +03:00
Mardanov Timur Rustemovich
850cbf92c2
default type is list
2018-11-29 17:47:42 +03:00
Mardanov Timur Rustemovich
0ff35cdd29
fix typo
2018-11-29 17:42:21 +03:00
Mardanov Timur Rustemovich
57e3e86eb1
fixed parent system
2018-11-29 17:32:55 +03:00
Mardanov Timur Rustemovich
15a6744aea
added filtering and parent node support
2018-11-29 16:24:36 +03:00
Mardanov Timur Rustemovich
fca7fa647e
make fields not required in neomodel_filters
2018-11-28 17:24:21 +03:00
Mardanov Timur Rustemovich
19d92b4c8b
fix
2018-11-28 03:55:19 +03:00
Mardanov Timur Rustemovich
25fc7edee4
reverted
2018-11-28 03:54:25 +03:00
Mardanov Timur Rustemovich
f7525cdb49
fixes
2018-11-27 00:42:36 +03:00