Commit Graph

344 Commits

Author SHA1 Message Date
Alejandro Nunez Capote
4b0ca35e2c resolving issues with test 2019-06-10 13:11:42 -04:00
Alejandro Nunez Capote
054ebaa57d Merge branch 'original-master' into elasticsearch-filterset 2019-06-10 12:23:41 -04:00
Alejandro Nunez Capote
68e940c15d run make format 2019-06-10 12:19:19 -04:00
Alejandro Nunez Capote
3778806bae create a ProcessorFactory 2019-06-10 12:15:14 -04:00
Alexandre Kirszenberg
96934c4614 Correctly propagate help_text as description for many-to-* relations (#579)
* Correctly propagate help_text as description for many-to-* relations

* Trigger build
2019-06-09 17:19:05 -07:00
Emil Goldsmith Olesen
fcc491fffb Add watch option to graphql_schema (#656)
* Add watch option to graphql_schema

* add documentation for grapql_schema --watch
2019-06-09 17:06:50 -07:00
Mel van Londen
a9a8d672e9
Merge pull request #600 from sierreis/filterset-class
Add support for filterset_class meta parameter
2019-06-09 16:48:46 -07:00
Mel van Londen
b271b259bd
Merge pull request #603 from abettke/fix/enhanced-proxy-model-support
Adds enhanced support for proxy models.
2019-06-09 16:47:10 -07:00
Emil Goldsmith Olesen
3cde872e28 Stop enforcing csrf checks in GraphQLTestCase (#658) 2019-06-09 16:30:48 -07:00
kamilkijak
c90c27f364 Add support for write_only fields in SerializerMutation (#555) 2019-06-09 16:25:34 -07:00
mvanlonden
94602c77c6 add reverse relation one to one query test 2019-06-09 12:41:04 -07:00
José Roberto Meza Cabrera
ce6e6dd6e1 Fixes O2O relations 2019-06-09 14:15:46 -05:00
José Roberto Meza Cabrera
67b21cb36f Revert "Drop old Django compatibility code"
This reverts commit 6acd917cf7.
2019-06-09 14:08:31 -05:00
Alejandro Nunez Capote
fa0de7b334 change decorator of query generator by a observable of processors 2019-06-09 11:49:16 -04:00
Alejandro Nunez Capote
721894fe1a refactoring of elasticsearch filter test 2019-06-09 10:38:46 -04:00
Alejandro Nunez Capote
8692c82266 Add feature to processor to generate based on related_models 2019-06-08 09:41:46 -04:00
Alejandro Nunez Capote
1836b8b4c2 Improve test coverage 2019-06-07 14:43:24 -04:00
Alejandro Nunez Capote
4e4387d674 added processors for all type of es query 2019-06-06 00:36:14 -04:00
Alejandro Nunez Capote
3698b4b370 Merge remote-tracking branch 'upstream/master' into elasticsearch-filterset 2019-06-04 15:19:54 -04:00
Alejandro Nunez Capote
5c57ffccd7 added order by feature as meta. 2019-06-04 15:17:32 -04:00
Alejandro Nunez Capote
25a5ceb2a8 generating filters from meta specification 2019-06-03 18:22:14 -04:00
Alejandro Nunez Capote
75946f97f5 testing interaction between DjangoFilterConnectionField and DjangoESFilterConnectionField to get a QS 2019-06-03 01:06:18 -04:00
Alejandro Nunez Capote
837d74f941 generating queries from filters to resolve the data first in ES. 2019-06-02 20:13:14 -04:00
Alejandro Nunez Capote
5b4d8144ee changing django_filters types in the ES filters by graphene types 2019-05-31 22:43:08 -04:00
Alejandro Nunez Capote
fc186ea23d Adding testing for graphene_django/elasticsearch/* 2019-05-31 22:16:36 -04:00
Alejandro Nunez Capote
4796d024d4 Getting ES fields from a StringFilterES with a django_filters.filters.CharFilter 2019-05-31 20:57:44 -04:00
mvanlonden
ddf8d24bf5 increment version to match release tag 2019-05-31 14:38:34 -07:00
Paul Hallett
b0cba398a1
Merge pull request #647 from dulmandakh/react-16.8.6
bump react to 16.8.6
2019-05-21 14:18:45 +01:00
Dulmandakh
7690c2c002 bump react to 16.8.6 2019-05-20 19:41:25 +08:00
Dulmandakh
49aedf171a bump graphiql to 0.13.0, and rename __debug to _debug due to __ limitations 2019-05-20 17:48:28 +08:00
zorig
ba64bceab0 graphiql version upgrade 2019-05-15 17:22:29 +08:00
Paul Hallett
e26a9f2a44
Merge pull request #631 from graphql-python/fix-628
Fix importing error for GraphQLTestCase
2019-05-13 18:12:22 +01:00
Mel van Londen
865c9535b9
Bugfix: FormMutation was always causing boolean fields to be required (#613)
Bugfix: FormMutation was always causing boolean fields to be required
2019-05-09 11:47:47 -07:00
Paul Hallett
2bf7e7f66d
Fix importing error for GraphQLTestCase 2019-05-08 22:45:28 +01:00
Paul Hallett
0d178b38fb
Merge pull request #609 from acu/fix-connection-field-required
Fix passing required=True to DjangoConnectionField
2019-05-06 12:01:12 +01:00
Paul Hallett
e6ad5887ca
Introduce Black formatting, additional tests 2019-05-02 17:46:35 +01:00
Alexandre Kirszenberg
b49d315a39 4 spaces 2019-05-01 15:49:54 +02:00
Mel van Londen
fb8a129752
Merge pull request #608 from GitRon/feature/base-test-class
Added test class for django api unittests and documentation
2019-04-27 09:16:23 -07:00
David Sanders
6acd917cf7
Drop old Django compatibility code 2019-04-15 05:53:30 -07:00
Ronny Vedrilla
29b8ea8398 Bugfix: FormMutation was always causing boolean fields to be required 2019-04-05 14:27:53 +02:00
Andrew Bettke
a7ee042e9d Merge branch 'master' of https://github.com/graphql-python/graphene-django into fix/enhanced-proxy-model-support 2019-04-01 22:15:16 +13:00
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
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
Andrew Bettke
959e98eeb0 Refactor to use formal to_global_id. 2019-03-28 09:56:10 +13:00
sierreis
d2f8bf730b Test exception when both filterset_class and filter_fields are set 2019-03-27 14:05:42 -04:00
Ronny Vedrilla
d5d0c519ce Replaced a copy-paste error causing one test case not to run 2019-03-27 15:21:15 +01:00