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
Yash Saravgi
72b1d01ca7
cli: fix lint error in commands\docs.go ( #5929 )
...
https://github.com/hasura/graphql-engine/pull/5929
2020-10-22 07:05:32 +00:00
Aditya Vats
9332521f95
cli: fix lint errors in cli/util/git.go ( fix #5831 ) ( #5932 )
...
https://github.com/hasura/graphql-engine/pull/5932
2020-10-22 06:35:05 +00:00
Marion Schleifer
1f22cd8e27
docs: bring back step 0 ( #6049 )
...
https://github.com/hasura/graphql-engine/pull/6049
2020-10-20 12:19:53 +00:00
pedrobern
b7d50c8646
docs: fix relay id ( close #6001 ) ( #6002 )
...
https://github.com/hasura/graphql-engine/pull/6002
2020-10-20 12:11:39 +00:00
Guilherme Lopes
4c3890b3ea
docs: document resetting metadata ( close #3874 ) ( #5961 )
...
https://github.com/hasura/graphql-engine/pull/5961
2020-10-19 12:13:53 +00:00
Auke Booij
a4113eb9a6
add hlint config, run hlint through a github action, add to dev.sh ( #5957 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-10-16 13:55:18 +02:00
Gnyani
bd6254c58b
console: improve events table UX ( close #5477 ) ( #5507 )
...
https://github.com/hasura/graphql-engine/pull/5507
2020-10-15 15:20:04 +00:00
Sooraj
56063515e5
console: fix dropping Postgres dependencies ( close #5993 ) ( #5998 )
2020-10-15 10:28:56 +02:00
Marion Schleifer
f319b02766
docs: compress images ( #6013 )
...
https://github.com/hasura/graphql-engine/pull/6013
2020-10-14 12:39:06 +00:00
Tirumarai Selvan
2754bf73a2
log level is error, when there is error ( #6014 )
...
https://github.com/hasura/graphql-engine/pull/6014
2020-10-14 10:47:40 +00:00
Sooraj
6299d1c278
console: down migrations improvements ( close #3503 , #4988 ) ( #4790 )
2020-10-14 13:27:32 +05:30
Marion Schleifer
ca3ebddc33
docs: console / cli / api workflows ( close #3593 ) ( #4948 )
...
https://github.com/hasura/graphql-engine/pull/4948
2020-10-13 11:07:46 +00:00
Karthikeyan Chinnakonda
3ea611f9fd
Server: Validate remote schema queries ( #5938 )
...
* [skip ci] use the args while making the fieldParser
* modify the execution part of the remote queries
* parse union queries deeply
* add test for remote schema field validation
* add tests for validating remote query arguments
Co-authored-by: Auke Booij <auke@hasura.io>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-10-13 14:03:11 +05:30
gahag
19b4f55ca1
server: implement websocket compression setting ( fixes #3292 ) ( #5928 )
...
https://github.com/hasura/graphql-engine/pull/5928
2020-10-12 09:14:23 +00:00
Varun Choudhary
2717c38352
console: improve UI for nested remote relationships ( close #4973 ) ( #5612 )
...
https://github.com/hasura/graphql-engine/pull/5612
2020-10-07 21:07:58 +00:00
Anuj Shah
8bca587881
console: fix default option selected when cloning row in data browser ( close #5340 ) ( #5364 )
2020-10-07 22:35:20 +02:00