Commit Graph

2423 Commits

Author SHA1 Message Date
kodiakhq[bot]
8df3f07909
Merge branch 'master' into fix-6041 2020-11-05 16:08:58 +00:00
Rakesh Emmadi
8bf84dff17
Avoid hdb_views schema for storing event trigger procedures (#6135)
https://github.com/hasura/graphql-engine/pull/6135
2020-11-05 12:12:13 +00:00
Tirumarai Selvan A
78afba7c2a use readcommitted isolation level for event fetch 2020-11-05 17:24:37 +05:30
Karthikeyan Chinnakonda
81fd1ec083
server: minor refactoring in the remote joins execution module (#6130)
* server: refactor the fetchRemoteJoinFields function

* apply hlint suggestions

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-11-05 11:51:39 +05:30
Auke Booij
49a7a074c1
server: avoid two circular imports (#6134)
https://github.com/hasura/graphql-engine/pull/6134
2020-11-05 04:26:47 +00:00
Auke Booij
21e38760e3
server: re-implement table name validity filtering (#6132) 2020-11-04 14:40:01 +01:00
Antoine Leblanc
faf321ce17
server: generalize SQLExp in RQL.IR (#6091)
https://github.com/hasura/graphql-engine/pull/6091
2020-11-04 10:50:56 +00:00
Karthikeyan Chinnakonda
77a04c7395
Server: Fix flaky action timeout test (#6124)
https://github.com/hasura/graphql-engine/pull/6124
2020-11-04 07:09:53 +00:00
Auke Booij
3bcde3d4b8
server: metadata separation: reorganize metadata types (#6103)
https://github.com/hasura/graphql-engine/pull/6103
2020-11-03 18:01:33 +00:00
Sasha Bogicevic
81e836a12c
server: configurable websocket keep alive interval (#6092)
Accept new server flag --websocket-keepalive to control
websockets keep-alive interval

Co-authored-by: Auke Booij <auke@hasura.io>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-11-03 18:04:48 +01:00
Auke Booij
fd8d51a37a
server: metadata separation: cleanup schema generation (#6116)
https://github.com/hasura/graphql-engine/pull/6116
2020-11-03 16:04:40 +00:00
Auke Booij
f7fcbd50fc
server: improve hlint hints for Either and Maybe (#6126)
https://github.com/hasura/graphql-engine/pull/6126
2020-11-03 15:00:54 +00:00
tomjaguarpaw
004f14a83c
Generalize combinators from Monad to Applicative (#5845)
https://github.com/hasura/graphql-engine/pull/5845
2020-11-03 13:46:50 +00:00
kodiakhq[bot]
ba45098962
use hdb_catalog.gen_hasura_uuid() wrapped over gen_random_uuid() (#6085)
https://github.com/hasura/graphql-engine/pull/6085
2020-11-03 12:09:40 +00:00
kodiakhq[bot]
43c4d92c8b
Merge branch 'master' into fix-4217 2020-11-03 11:12:19 +00:00
Rishichandra Wawhal
3ddf6f2f9b
docs/cloud: add project details doc including project rename (#6051)
https://github.com/hasura/graphql-engine/pull/6051
2020-11-03 09:01:38 +00:00
Vamshi Surabhi
98c853f4f7
use only required session variables in multiplexed queries for subscriptions (#4329)
* use only required session variables in multiplexed queries for subscriptions

This will reduce the load on Postgres when the result of a subscription
is not dependent on the session variables of the request

* add DerivingVia to the project wide extension list

* expose a more specific function to filter session variables

* improve documentation of session variables of a cohort

Co-Authored-By: Alexis King <lexi.lambda@gmail.com>

* fix bad rebase

* add test for checking only required session variables are used to make query

Co-authored-by: Alexis King <lexi.lambda@gmail.com>
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
2020-11-03 13:45:22 +05:30
Tirumarai Selvan A
79a7700742 use hdb_catalog.gen_hasura_uuid() wrapped over gen_random_uuid() 2020-11-03 10:40:57 +05:30
Marion Schleifer
25892ac70c
docs: add guides to connect to cloud dbs (#5948)
https://github.com/hasura/graphql-engine/pull/5948
2020-11-02 12:20:04 +00:00
Antoine Leblanc
88bd2ed022
server: generalize BoolExp (#6082)
https://github.com/hasura/graphql-engine/pull/6082
2020-11-02 11:50:40 +00:00
GavinRay97
b869e9c086
Add metadata types and generator lib to repo (#5452)
https://github.com/hasura/graphql-engine/pull/5452
2020-10-30 14:52:55 +00:00
Auke Booij
62da89eb9d
server: multiple sources: generalize LazyTx to LazyTxT (#6097)
https://github.com/hasura/graphql-engine/pull/6097
2020-10-30 11:00:39 +00:00
Brian Pedersen
d2d0a05901
cli: fix lint errors in migrate/cmd/commands.go (#5946)
https://github.com/hasura/graphql-engine/pull/5946
2020-10-30 09:12:18 +00:00
Antoine Leblanc
61c990f177
server: split RQL.DML into four different parts (#6072)
* WIP: shuffle everything around

* remove all unused imports & unused top-level binds

* move types to IR subfolder

* revert unrelated changes to Query and Prepare

* reduce differences in remote join, deprecate Translate module

* clean mutation module

* cosmetic: code formatting

* moved some RQL-specific stuff out of IR

* fix misc compilation issues

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-10-29 16:58:13 +00:00
Marion Schleifer
f5fd1ecd7d
docs: small fixes (#6100)
https://github.com/hasura/graphql-engine/pull/6100
2020-10-29 14:14:25 +00:00
Karthikeyan Chinnakonda
2cb08a89cb
server: customize tracking tables with a custom name (#5719)
https://github.com/hasura/graphql-engine/pull/5719
2020-10-29 12:48:45 +00:00
Karthikeyan Chinnakonda
562b6ac43a
Server: support remote relationships to unions, interfaces and enum types (#6080)
* add support for joining to remote interface and union fields

* add test for making a remote relationship with an Union type

* add CHANGELOG

* remove the pretty-simple library

* remove unused imports from Remote.hs

* Apply suggestions from code review

Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>

* support remote relationships against enum fields as well

* update CHANGELOG

Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-10-29 17:00:19 +05:30
Amarnath Karthi
d6d0b99a3c
cli: fix lint errors for /ci/migrate/util.go (#5912)
https://github.com/hasura/graphql-engine/pull/5912
2020-10-29 07:08:12 +00:00
Ayan Banerjee
fd36bd1492
cli: fix lint issues for v2/integration_test/seeds.go (#5954)
https://github.com/hasura/graphql-engine/pull/5954
2020-10-29 06:13:53 +00:00
Vladyslav Nekriach
989832cfb5
fix linting in cli/source/stub/stub_test.go (#5972)
https://github.com/hasura/graphql-engine/pull/5972
2020-10-29 05:42:05 +00:00
Daniel Shuy
c5ca59208e
cli: fix lint errors in cli/commands/init.go (#5943)
https://github.com/hasura/graphql-engine/pull/5943
2020-10-29 05:09:36 +00:00
Antoine Leblanc
8b577adfae
move NonEmptyText out of RQL.Types.Common (#6086) 2020-10-29 00:04:21 +00:00
Auke Booij
0540b279db
server: make more use of hlint (#6059)
https://github.com/hasura/graphql-engine/pull/6059
2020-10-28 16:40:33 +00:00
Auke Booij
33eb0fbcbb
server: avoid running hlint on an empty list of files (#6087) 2020-10-28 16:41:04 +01:00
Karthikeyan Chinnakonda
c63801b573
server: fix bug when renaming table with manual relationships (#5806)
https://github.com/hasura/graphql-engine/pull/5806
2020-10-28 10:21:53 +00:00
Panagiotis Vasilopoulos
ebe6990c45
cli: fixed lint error (#5877)
https://github.com/hasura/graphql-engine/pull/5877
2020-10-28 04:18:48 +00:00
Alexis King
bf466e3b63
server: Fix fine-grained incremental cache invalidation (fix #3759) (#6027)
This issue was very tricky to track down, but fortunately easy to fix.
The interaction here is subtle enough that it’s difficult to put into
English what would go wrong in what circumstances, but the new unit test
captures precisely that interaction to ensure it remains fixed.
2020-10-27 14:52:19 -05:00
Antoine Leblanc
a8ed6a82e2
server: move Hasura.SQL to Hasura.Backends.Postgres (#6053)
https://github.com/hasura/graphql-engine/pull/6053
2020-10-27 13:53:49 +00:00
Antoine Leblanc
bea226fe37
server: unabbreviate function names (#6028)
https://github.com/hasura/graphql-engine/pull/6028
2020-10-27 10:34:31 +00:00
Auke Booij
8d0afb6f92
server: SQL that grows (#6003)
Add a backend type extension parameter to some RQL types, following the ideas of the paper "Trees that grow" (Najd & Jones 2016)

Co-authored-by: Antoine Leblanc <antoine@hasura.io>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-10-22 22:42:27 +02:00
Antoine Leblanc
f5da1b347e
Merge pull request #6017 from nicuveo/clean-text
clean SQL text functions
2020-10-22 16:37:49 +01:00
Antoine Leblanc
983b8e4f09
Merge branch 'master' into clean-text 2020-10-22 14:51:43 +01:00
Sameer Kolhar
b72fc6922a
server: fix issue with tracking custom functions that return SETOF materialized view (close #5294) (#5945)
https://github.com/hasura/graphql-engine/pull/5945
2020-10-22 13:26:42 +00:00
Antoine Leblanc
91d8a7ab61 remove SQL.Text, clean text functions 2020-10-22 14:07:48 +01:00
Antoine Leblanc
d9d2728a32 removed unused imports, remove warnings 2020-10-22 14:07:48 +01:00
Antoine Leblanc
5259be8960 revert change to SQL.Rewrite 2020-10-22 14:07:48 +01:00
Antoine Leblanc
440563e85c revert SQL boolean case change 2020-10-22 14:07:47 +01:00
Antoine Leblanc
f46f807942 clean SQL text functions 2020-10-22 14:07:47 +01:00
Sam Radhakrishnan
ee940b4a84
cli: fix linter errors (#5870)
https://github.com/hasura/graphql-engine/pull/5870
2020-10-22 08:08:14 +00:00
Arun Mathew
ebc3e15198
cli: fix lint errors in metadata/actions/actions.go (#5910)
https://github.com/hasura/graphql-engine/pull/5910
2020-10-22 07:36:37 +00:00