Julian Herrero
|
a8d8d2cdf9
|
Use double quotes in config/initializers
|
2019-03-15 10:29:03 +01:00 |
|
Alberto Miedes Garcés
|
3c7f60d625
|
Fix initializer
|
2017-05-11 22:42:43 +02:00 |
|
Alberto Miedes Garcés
|
7a9373942a
|
Testing GraphQL 1.3.0 in Travis
|
2017-01-12 20:11:47 +01:00 |
|
Alberto Miedes Garcés
|
6940b90260
|
Add more fields to api.yml
|
2017-01-09 14:11:51 +01:00 |
|
Alberto Miedes Garcés
|
b0bd30e3d1
|
Move api config file parsing method into the ApiTypesCreator class
|
2017-01-09 13:36:53 +01:00 |
|
Alberto Miedes Garcés
|
398bc8c211
|
Split api types creation and query type creation between two different classes
|
2017-01-08 13:39:50 +01:00 |
|
Alberto Miedes Garcés
|
b9d2bc2801
|
Wrote specs for QueryType creation
|
2017-01-08 12:45:48 +01:00 |
|
Alberto Miedes Garcés
|
7027164867
|
Clean code
|
2017-01-08 11:37:56 +01:00 |
|
Alberto Miedes Garcés
|
0b302c2afc
|
Move code from GraphQL initializer into GraphQL::TypeCreator
|
2017-01-07 23:04:30 +01:00 |
|
Alberto Miedes Garcés
|
d76e4518e6
|
Extract QueryRoot resolve functions into its own classes
|
2017-01-07 22:43:42 +01:00 |
|
Alberto Miedes Garcés
|
b36deb0382
|
Read API types and fields from config/api.yml
|
2017-01-04 14:26:30 +01:00 |
|
Alberto Miedes Garcés
|
0b4004042f
|
Expose age_range instead of date_of_birth for Voter/User class
|
2017-01-02 14:12:37 +01:00 |
|
Alberto Miedes Garcés
|
f4e0ef7eea
|
Truncate votes api timestamp to hour
|
2017-01-02 12:00:58 +01:00 |
|
Alberto Miedes Garcés
|
8fe38f889b
|
Fix typo
|
2017-01-02 10:52:27 +01:00 |
|
Alberto Miedes Garcés
|
4783f14eb4
|
Show voter info in api
|
2017-01-02 00:13:16 +01:00 |
|
Alberto Miedes Garcés
|
7dc4d80e7b
|
Read GraphQL field types from file instead of from database
|
2017-01-01 19:36:07 +01:00 |
|
Alberto Miedes Garcés
|
0f663603d0
|
Only create field to retrieve single objects in QueryRoot if ID was exposed
|
2016-12-29 14:19:11 +01:00 |
|
Alberto Miedes Garcés
|
90130f20e7
|
Add Votes info to api
|
2016-12-29 12:03:00 +01:00 |
|
Alberto Miedes Garcés
|
80c3108a18
|
Add Tag to api
|
2016-12-29 11:13:57 +01:00 |
|
Alberto Miedes Garcés
|
074a8182f6
|
Add ProposalNotification to api
|
2016-12-29 10:58:40 +01:00 |
|
Alberto Miedes Garcés
|
90ff84b6ef
|
Update API fields for Comment
|
2016-12-27 18:18:22 +01:00 |
|
Alberto Miedes Garcés
|
0e501e2edd
|
Update API fields for Debate, User and Geozone
|
2016-12-27 18:18:00 +01:00 |
|
Alberto Miedes Garcés
|
506696df0a
|
Call <ApiModel>::public_for_api if available
|
2016-12-27 18:17:02 +01:00 |
|
Alberto Miedes Garcés
|
2741dcf03c
|
Temporary remove organizations from API
|
2016-12-26 20:45:46 +01:00 |
|
Alberto Miedes Garcés
|
5daf59e813
|
Update Proposal fields exposed in API
|
2016-12-26 13:42:45 +01:00 |
|
Alberto Miedes Garcés
|
402b07d959
|
Expose Proposal public_author using scopes instead of modules
|
2016-12-13 14:04:53 +01:00 |
|
Alberto Miedes Garcés
|
82954c922a
|
Expose public_author for proposals
|
2016-12-11 15:42:17 +01:00 |
|
Alberto Miedes Garcés
|
aef20aadf7
|
Refactor specs for TypeCreator and ConsulSchema
|
2016-11-30 13:44:31 +01:00 |
|
Alberto Miedes Garcés
|
d1e1ee9d41
|
Moved api_types into TypeCreator
|
2016-11-30 13:43:10 +01:00 |
|
Alberto Miedes Garcés
|
700fcaab16
|
Expose proposal/debate comments in the API so I can test :has_many associations
|
2016-11-18 16:24:41 +01:00 |
|
Alberto Miedes Garcés
|
fc61d63aff
|
Fixed bug for the Comment element inside the API_TYPE_DEFINITIONS
|
2016-11-17 17:25:27 +01:00 |
|
Alberto Miedes Garcés
|
b10b701319
|
Started GraphQL::TypeCreator testing
|
2016-11-14 16:08:56 +01:00 |
|
Alberto Miedes Garcés
|
0a23533a02
|
Refactor creation of the QueryRoot
Also incremented the max_depth for nested queries since the use of
pagination increases the needed depth to retrieve useful data (edges,
nodes, etc.)
|
2016-11-11 12:51:45 +01:00 |
|
Alberto Miedes Garcés
|
59a355df1b
|
First working version of new GraphQL::TypeCreator after major refactoring
|
2016-11-10 20:53:15 +01:00 |
|