Commit Graph

2407 Commits

Author SHA1 Message Date
hasura-bot
fb902d4209 Support tracking SQL functions as mutations. Closes #1514 (#34)
* Support tracking SQL functions as mutations. Closes #1514

Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
Co-authored-by: Brandon Simmons <brandon@hasura.io>
GITHUB_PR_NUMBER: 6160
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6160

* Update docs/graphql/core/api-reference/schema-metadata-api/custom-functions.rst

Co-authored-by: Marion Schleifer <marion@hasura.io>

* Update docs/graphql/core/schema/custom-functions.rst

Co-authored-by: Marion Schleifer <marion@hasura.io>

* Update docs/graphql/core/schema/custom-functions.rst

Co-authored-by: Marion Schleifer <marion@hasura.io>

* Update docs/graphql/core/schema/custom-functions.rst

Co-authored-by: Brandon Simmons <brandon@hasura.io>
Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
Co-authored-by: Marion Schleifer <marion@hasura.io>
GitOrigin-RevId: 8fd39258641ecace6e3e9930e497b1655ad35080
2020-11-18 18:05:59 +00:00
Robert
1477ada1bb cli: update promptui dependency (#51)
* gofmt

* cli: Update promptui to v0.8.0

This is in order to avoid the dependency on the abandoned
kingping.v3-unstable, which was causing dependency conflicts
compiling the pro/cli securelink code.

GitOrigin-RevId: 1264a86ca31b15b2a48c375cd123977084ac558e
2020-11-18 13:36:24 +00:00
hasura-bot
8eebcb9bdf server: query remote server in a remote join query iff all arguments are not null (#31)
* server: query remote server in a remote join query iff all arguments are not null

Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
GITHUB_PR_NUMBER: 6199
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6199

* Update server/src-lib/Hasura/Backends/Postgres/Execute/RemoteJoin.hs

Co-authored-by: Brandon Simmons <brandon@hasura.io>

* Apply suggestions from code review

Co-authored-by: Brandon Simmons <brandon@hasura.io>

* Update server/tests-py/test_remote_relationships.py

Co-authored-by: Brandon Simmons <brandon@hasura.io>

* Apply suggestions from code review

Co-authored-by: Brandon Simmons <brandon@hasura.io>

* use guard instead of case match

* add comment about the remote relationship joining

* add a comment about the design discussion

* update CHANGELOG

Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
Co-authored-by: Brandon Simmons <brandon@hasura.io>
GitOrigin-RevId: ce7e8288d37ad7c32705f96cb6363f6ad68f3c0a
2020-11-18 09:00:12 +00:00
Tirumarai Selvan A
320835a6f2 update changelog
GitOrigin-RevId: 693f0d573f8f60423d25e52cfcc4511dbbf829fc
2020-11-17 15:05:52 +00:00
Tirumarai Selvan A
ba45d0454d tag release v1.3.3
GitOrigin-RevId: e7ded3aaa7677e8baa5a30217625f32b68f7fb0b
2020-11-17 15:05:44 +00:00
John Bampton
82bc5327ae Fix case of GitHub
GitOrigin-RevId: 148b0050058986cbe6d3e3615dc160abb1644cad
2020-11-17 19:29:41 +05:30
Vishnu Bharathi P
4ebe94914b Revert "docs: fix case of GitHub"
This reverts commit d03365814f.
2020-11-17 19:11:10 +05:30
John Bampton
d03365814f
docs: fix case of GitHub (#5920)
https://github.com/hasura/graphql-engine/pull/5920
2020-11-17 12:00:20 +00:00
Rikin Kachhia
3605945bfc docs: add descriptions for each file in metadata directory
GitOrigin-RevId: b0c5431795f4b24768da334c5876fee6567f42bb
2020-11-17 10:45:01 +00:00
hasura-bot
e80515600d archive invalid events and drop existing invalid postgres triggers (#27)
GITHUB_PR_NUMBER: 6181
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6181

Co-authored-by: Tirumarai Selvan A <tiru@hasura.io>
GitOrigin-RevId: fdbc18abe42f2f5737d71a2fa95a2c80e6b4a85a
2020-11-16 10:10:09 +00:00
Karthikeyan Chinnakonda
e2d07bb507 console/docs: add support for computed fields for views (close #6168)
Co-authored-by: rikinsk <rikin@hasura.io>
Co-authored-by: Aleksandra Sikora <aleksandra@hasura.io>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Karthikeyan Chinnakonda <karthikeyan@hasura.io>
GITHUB_PR_NUMBER: 6174
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6174
GitOrigin-RevId: d03d9863251aaab696d34bf3672afa9decd7a5bc
2020-11-12 20:43:49 +00:00
Vishnu Bharathi P
58c44f55dd Merge oss/master onto mono/main
GitOrigin-RevId: 1c8c4d60e033c8a0bc8b2beed24c5bceb7d4bcc8
2020-11-12 22:37:19 +05:30
Phil Freeman
9faf5d90f7 Pro: use local graphql-engine (#14)
* Use local graphql-engine, WIP

* Implement cacheLookup and cacheStore

* Fix the key generatio ncode, deduplicate

* changelog

* More deduplication

* Run tests from this repo

* remove changelog

Co-authored-by: Anon Ray <rayanon004@gmail.com>
GitOrigin-RevId: 80d10c4dfdcadbe9f49ec50fe67aa981202c98c9
2020-11-12 22:37:19 +05:30
Vishnu Bharathi P
666058ab7f oss: renames dot files and folders
GitOrigin-RevId: 540aeec3be091e1cfb7b05a988f50445534ed663
2020-11-12 22:37:19 +05:30
Antoine Leblanc
70303a5a68
server: post-pdv Insert IR cleanup (#6162)
https://github.com/hasura/graphql-engine/pull/6162
2020-11-11 17:06:38 +00:00
Antoine Leblanc
fd5f64e1ed
server: remove postgres-specific code from OrderBy IR (#6150)
https://github.com/hasura/graphql-engine/pull/6150
2020-11-10 17:04:50 +00:00
GavinRay97
60ce9c1ab9
contrib: update broken image link in metadata types readme (#6167)
https://github.com/hasura/graphql-engine/pull/6167
2020-11-10 15:30:06 +00:00
Karthikeyan Chinnakonda
d3f724634f
server: reorder migration files to align with v1.3.3 (#6165)
https://github.com/hasura/graphql-engine/pull/6165
2020-11-10 14:45:08 +00:00
Alexis King
6787a1b1b0
Fix the way replace_metadata drops event triggers (fix #5461) (#6137)
https://github.com/hasura/graphql-engine/pull/6137
2020-11-10 12:02:38 +00:00
Antoine Leblanc
d769a7536e
server: remove postgres-specific code in Insert IR (#6149)
https://github.com/hasura/graphql-engine/pull/6149
2020-11-10 11:04:31 +00:00
Antoine Leblanc
f8ad1698a9
Move MutationCTE code to Postgres.Translate. (#6148)
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
2020-11-10 15:31:49 +05:30
Antoine Leblanc
7960cd1c87
server: generalize table name IR (#6127)
https://github.com/hasura/graphql-engine/pull/6127
2020-11-10 07:50:26 +00:00
Vamshi Surabhi
10ada484f4
adds haskell-language-server/ghcide configuration (#6133) 2020-11-09 19:05:39 +05:30
Auke Booij
0b98e8c504
server: add hlint hints to replace case analysis with combinators (#6145)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-11-09 13:27:16 +01:00
Antoine Leblanc
39843e48f2
server: split RQL.Types.DML (#6101)
https://github.com/hasura/graphql-engine/pull/6101
2020-11-09 10:03:38 +00:00
Saran Balaji
b5db6c2019
cli: fix lint errors in scripts_update_config_v2.go (#5983)
https://github.com/hasura/graphql-engine/pull/5983
2020-11-07 10:07:53 +00:00
Sameer Kolhar
31d07cb976
console: notifications bug fixes (#6067)
https://github.com/hasura/graphql-engine/pull/6067
2020-11-06 14:53:18 +00:00
Aravind K P
4e4e3f3fd3
cli (cli-migrations image): fix problems running cli-migrations-v2 image as a non root user (close #4651 close #5333) (#5306)
https://github.com/hasura/graphql-engine/pull/5306
2020-11-06 14:09:53 +00:00
Rakesh Emmadi
ca47c92f50
server: avoid raising mutation check constraint violation in pg procedure (#6123)
https://github.com/hasura/graphql-engine/pull/6123
2020-11-06 13:22:22 +00:00
Aravind K P
01c4cd2ff3
cli: do not clear metadata during metadata apply (close #6115) (#6119)
https://github.com/hasura/graphql-engine/pull/6119
2020-11-06 08:51:10 +00:00
Aravind K P
153054bed9
ci: bump cli builder version (close #5462) (#6140)
https://github.com/hasura/graphql-engine/pull/6140
2020-11-06 06:54:52 +00:00
kodiakhq[bot]
c5f1392eea
use readcommitted isolation level for event fetch (#6120)
https://github.com/hasura/graphql-engine/pull/6120
2020-11-05 18:01:07 +00:00
kodiakhq[bot]
5ef83a0c42
Merge branch 'master' into fix-6041 2020-11-05 17:04:23 +00:00
Aleksandra Sikora
339217f68d
contrib: bump metadata types version and update readme (#6139) 2020-11-05 18:04:05 +01:00
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