Rakesh Emmadi
37e848ccca
fix input object validation logic ( fix #693 ) ( #711 )
2018-10-12 16:06:47 +05:30
Rakesh Emmadi
00d5a5c1a3
insert mutations can now handle nested-data/relationsips ( close #343 ) ( #429 )
2018-10-05 20:43:51 +05:30
Vamshi Surabhi
32ae105279
improved sql generation for select queries ( closes #6 , #121 , #278 ) ( #643 )
...
Better SQL generation for select queries (the query plans will be the same but much more readable). This closes some long standing issues (#6 , #121 , #278 ).
2018-10-05 14:26:47 +05:30
Vamshi Surabhi
dd8e09d6cb
add jsonb boolean operators ( close #369 ) ( #376 )
2018-09-07 17:45:28 +05:30
Rakesh Emmadi
0a3f68a6eb
allow selectively updating columns on a conflict during insert ( fix #342 )
...
* fix primary key changing on upsert, fix #342
* add 'update_columns' in 'on_conflict' object, consider 'allowUpsert'
* 'ConflictCtx' type should respect upsert cases
* validation for not null fields in an object
2018-09-04 19:09:48 +05:30
Rakesh Emmadi
daf01c2b9d
mutation return type and query type are same ( close #315 ) ( #324 )
2018-08-30 15:19:21 +05:30
Rakesh Emmadi
f72d8de87a
fix insert fails for non-admin roles on v1/query ( fix #327 ) ( #328 )
...
* fix insert fails for non-admin roles on v1/query, fix #327
* add test case for user role upsert usint constraint name
2018-08-29 19:11:33 +05:30
Rakesh Emmadi
efc9fc7ba9
simpler root level select fields using primary keys ( fix #304 ) ( #306 )
...
* select fields by primary key col values as argument values, fix #304
* change field name 'table_by_pkey' to 'table_by_pk'
2018-08-27 19:47:03 +05:30
Rakesh Emmadi
e3b56ac368
fix upsert queries to work on non admin roles ( fix #239 ) ( #291 )
2018-08-17 20:14:43 +05:30
Rakesh Emmadi
0797407dbf
respect the nullability of columns in generated schema ( fix #256 ) ( #276 )
2018-08-10 18:14:44 +05:30
Rakesh Emmadi
8ecb80d2da
accept null values for input values, closes #252 ( #266 )
2018-08-07 16:13:42 +05:30
Rakesh Emmadi
9c55490e98
add limit in select permission which overrides limit in query ( close #178 ) ( #237 )
2018-08-06 17:45:08 +05:30
Rakesh Emmadi
27e2d647bb
add _inc and jsonb operators to update_mutation ( close #159 ) ( #169 )
2018-07-20 16:21:20 +05:30
Vamshi Surabhi
e3f960da96
initial support for livequeries ( #176 )
...
fix #59
2018-07-20 12:52:46 +05:30
Rakesh Emmadi
5efa366b49
add 'on_conflict' argument to insert mutation ( closes #105 )
...
* add 'on_conflict' condition to allow upsert mutation, closes #105
* check for empty unique or primary key constraints
* add 'on_conflict' condition test cases and introspection test case
* update 'conflict_action' enum values' description
2018-07-17 18:53:23 +05:30
rakeshkky
a094394f38
server: add _is_null operator, closes #106
2018-07-12 19:33:02 +05:30
Vamshi Surabhi
9a845b4932
server: mutationRoot is optional in __schema
2018-06-29 17:32:59 +05:30
Vamshi Surabhi
530027cf20
move raven into graphql-engine repo
2018-06-28 00:32:00 +05:30