Commit Graph

5545 Commits

Author SHA1 Message Date
Daniel Chambers
381c81c806 Added new agent test to check ordering in deeply nested array relationships [GDC-605]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6721
GitOrigin-RevId: e0478bef0a8f5fffba9ef032be323cadc0f85116
2022-11-04 12:27:35 +00:00
Abby Sassel
8bb537e73b NDAT-72 CRDB Support for Value of Derived Field
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6707
GitOrigin-RevId: 8fab832a8ca225080d2797013f93d122e6424e35
2022-11-04 11:53:48 +00:00
Rishichandra Wawhal
52b11b3bbb console: add a standardised lux client and setup type autogeneration for control plane graphql types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6621
GitOrigin-RevId: b96641106f7f179ee7a61eaceec019f654af4bd9
2022-11-04 11:16:41 +00:00
nandhithakamal
fee4de93fc ci: do not build debian-based images
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6729
GitOrigin-RevId: 882fd6e000fbca928f04e2b7bf169c3c205a0f0d
2022-11-04 10:05:25 +00:00
Nicolas Inchauspe
1f4e802d88 console: upgrade msw to fix storybook with NX
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6732
GitOrigin-RevId: f83a95d9589cd9fddf9cb9f57f5bbe612022a77a
2022-11-04 08:44:52 +00:00
Daniel Chambers
723c91bef4 Fixed unstable ordering issues in data connector agent test suite
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6687
GitOrigin-RevId: 278a6073923981683cb75cfb922f284e0960c324
2022-11-04 04:36:47 +00:00
Philip Lykke Carlsen
6720d77cd9 Perform fixture setup spec-by-spec
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6708
GitOrigin-RevId: ac4b7350f6c0e9719f8b5973b267d72e3e4e444c
2022-11-03 20:27:02 +00:00
Rob Dominguez
79b58d4e7e docs: add algolia to 404
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6655
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: b174efd44e4e50517ef4c3d4d023c00cb4d674f1
2022-11-03 19:46:11 +00:00
Daniel Harvey
1f4a54347c [tooling] start databases in parallel in makefiles
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6713
GitOrigin-RevId: bd1eb1e6f4cfff1e19f8284d74997208ceae5f98
2022-11-03 17:17:41 +00:00
Philip Lykke Carlsen
1fa7f9b881 server/tests: Move 'emptySetupAction' to its single usage site
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6704
GitOrigin-RevId: 9adac1913fff3735b44c89c206e92544c9aa760b
2022-11-03 16:29:28 +00:00
Philip Lykke Carlsen
a4792a6b80 server/tests: Remove unnecessary complexity from Harness
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6700
GitOrigin-RevId: 3130097581b4e9284cd1074a5d74eb5165354eb4
2022-11-03 15:57:54 +00:00
Tom Harding
d823d201b9 CREATE SCHEMA _ IF NOT EXISTS in api-tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6701
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: 13ab91a8c4241fb4e60df9e8856bc926afac6be9
2022-11-03 14:54:48 +00:00
Lyndon Maydwell
4db9941b32 Prohibit underscores in dataconnector names [GDC-586]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6681
GitOrigin-RevId: 5335208fc4c8f0d1b16a45415329ef390a269b4c
2022-11-03 14:00:52 +00:00
Sooraj
278cb94004 console/actions: add tracking events on import types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6688
GitOrigin-RevId: 6b6c3e74e8ad91f02761691f64a97758d43a1227
2022-11-03 12:32:51 +00:00
Samir Talwar
82d897efda CI: In upgrade+downgrade tests, run the current graphql_server.py.
There doesn't seem to be a good reason to run the release version, and if there's a problem, we can't fix it without making a new release.

This also means we should catch bugs much earlier.

Co-Authored-By: Abby Sassel <3883855+sassela@users.noreply.github.com>

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6678
GitOrigin-RevId: 7b32cd721089dccabc634598b333b94a3933221a
2022-11-03 12:02:45 +00:00
Philip Lykke Carlsen
5b2877bc8f server/tests: Move subscriptions harness to a separate module
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6664
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: f5d7793606a50fb10f871ae757748fe5c21e50c8
2022-11-03 10:58:32 +00:00
Karthikeyan Chinnakonda
d7609233c4 Rename get_event_invocations to get_scheduled_event_invocations
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6513
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 172ba6152ed77b90eeec9183a3fb4c6f177e45b3
2022-11-03 10:23:11 +00:00
Erik Magnusson
a9515cdb68 console: replace redux fetching logic with react query for insert row tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6644
GitOrigin-RevId: ae7809e702edeafa84075bcad1ba37236bdb1d1a
2022-11-03 09:14:39 +00:00
Erik Magnusson
d17b27e91f fixed button margin handling
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6685
GitOrigin-RevId: ac5c34854966510f1ba0f074893bb4b11cf345e8
2022-11-03 08:43:19 +00:00
Tirumarai Selvan
66b63ac828 document default value for events fetch interval
Same as title

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6686
GitOrigin-RevId: 6c8edaae5d9d005f098d7cded14f991b5c22c881
2022-11-03 08:12:47 +00:00
Mohd Bilal
b44443941f cli: refactor cli to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6662
GitOrigin-RevId: 3b9199ae80c587f8d763df4889f4f81c73ccd3d3
2022-11-03 08:09:07 +00:00
Aravind K P
e982a492d6 cli: port migrate squash and migrate delete to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6548
GitOrigin-RevId: 21771cb44655788be71c61b7ee3b4159341907a1
2022-11-03 07:38:03 +00:00
Nicolas Inchauspe
b0d5238c3b console: globally add missing <!DOCTYPE html>
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6661
GitOrigin-RevId: ee45e493c76ad81569731dcd5468c846ba01cd12
2022-11-03 07:06:06 +00:00
Aravind K P
061f6b96ed cli: port migrate, migrate status to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6547
GitOrigin-RevId: edef43331e06b227484e84a39f4b81b5fdaf1658
2022-11-03 05:56:00 +00:00
awjchen
700d4616cb server: add logging for debugging metadata sync issues
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6657
GitOrigin-RevId: ab7b8015010d20a641606fad8cd1cc8563466d0c
2022-11-02 23:24:23 +00:00
Vijay Prasanna
c930e2a4d1 feature (console): add support for enum type inputs in the OpenApi3 config schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6652
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: c4410dd220dee0f18989065dc932abdbf8ef167b
2022-11-02 22:05:15 +00:00
Rob Dominguez
1e1592c254 docs: incorporate fixes and reorder cloud-dbs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6673
GitOrigin-RevId: 0eebba2a04f9109734c28c9b5da6d16e00e60ee1
2022-11-02 21:29:44 +00:00
Samir Talwar
342391f39d Upgrade Ormolu to v0.5.
This upgrades the version of Ormolu required by the HGE repository to v0.5.0.1, and reformats all code accordingly.

Ormolu v0.5 reformats code that uses infix operators. This is mostly useful, adding newlines and indentation to make it clear which operators are applied first, but in some cases, it's unpleasant. To make this easier on the eyes, I had to do the following:

* Add a few fixity declarations (search for `infix`)
* Add parentheses to make precedence clear, allowing Ormolu to keep everything on one line
* Rename `relevantEq` to `(==~)` in #6651 and set it to `infix 4`
* Add a few _.ormolu_ files (thanks to @hallettj for helping me get started), mostly for Autodocodec operators that don't have explicit fixity declarations

In general, I think these changes are quite reasonable. They mostly affect indentation.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6675
GitOrigin-RevId: cd47d87f1d089fb0bc9dcbbe7798dbceedcd7d83
2022-11-02 20:55:13 +00:00
Matt Hardman
89f639b40b console: add permissions for GDC to console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6592
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 67a72f9b76604c50f647113d170e6e1778c9f7b9
2022-11-02 19:55:12 +00:00
Gil Mizrahi
5278e4ed9f update hspec to fix deadlock issue
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6670
GitOrigin-RevId: d045c915ba2e4422f5e338ca60f0bc9232b7a498
2022-11-02 16:39:30 +00:00
Samir Talwar
4c5a00ab71 Update the .gitignore file to reflect the internal one.
As far as I can tell, there's no need to have two .gitignore files. We can just ship the same one.

The OSS .gitignore file was horrendously out of date anyway.

Please take a look at [the current .gitignore file](https://github.com/hasura/graphql-engine-mono/blob/main/.gitignore) to verify you're happy with this change.

(No open-source commit message.)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6628
GitOrigin-RevId: b47d6a8cfa9affe6c06b8945e6861de5546ad53c
2022-11-02 13:28:59 +00:00
Tom Harding
aaf8e9a8c1 Add tests for streaming subscriptions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6650
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: 415f7904b591d2c4e32ec320570d1b8e0bef1719
2022-11-02 13:23:47 +00:00
Gil Mizrahi
60bd73e8d9 add a test for subscriptions with variables
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6653
GitOrigin-RevId: b7d7f7392c50e983183812b270af3516c831d859
2022-11-02 12:47:04 +00:00
Mohd Bilal
24b98e1900 cli: refactor internal/projectmetadata package to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6435
GitOrigin-RevId: d48b0412cb8f7d252018861cbbe65123eddfc412
2022-11-02 12:10:25 +00:00
Daniel Harvey
11ff01f3e9 [server] Fix CockroachDB live queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6551
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: e78ce17d3ff5c677360b2927dca04a91e144952e
2022-11-02 11:41:02 +00:00
Mohd Bilal
d63686f8d4 cli: refactor plugins to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6562
GitOrigin-RevId: 8ab6252bd5e3fa716f3c9d546418dfedefd837be
2022-11-02 11:11:54 +00:00
Samir Talwar
dbc027424b Rename relevantEq to (==~) for Ormolu's sake.
Ormolu v0.5 tries to reformat code using operators according to fixity. Unfortunately, it doesn't really understand backticked functions (even when they have an associated `infix` declaration), and so messes up the formatting.

This is probably a bug in Ormolu, but we can work around it by using a symbol operator.

Happy to bikeshed on `==~` (which I am reading as "pretty much equal to"). Please yell at me if you prefer something else.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6651
GitOrigin-RevId: 79af427422194460200b2b48339cdb9ee9b33c33
2022-11-02 10:43:48 +00:00
Stefano Magni
bf551be20f console(platform): Respect the Heap custom events convention
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6520
GitOrigin-RevId: afbf6139fe4bee0e17a90ee1b7a22c8442a75e28
2022-11-02 10:10:40 +00:00
Tom Harding
7df6198b68 Add multiplexed subscription testing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6637
GitOrigin-RevId: a92b333b88c548ba514e69598a86098d8f6243cc
2022-11-02 09:39:47 +00:00
Marion Schleifer
7b4a7917ce docs: fix typo in query tags docs
[Slack conversation](https://hasurahq.slack.com/archives/C041B2DLHJS/p1667350236988359?thread_ts=1667347400.158339&cid=C041B2DLHJS)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6658
GitOrigin-RevId: 2861aae877d125150e92a9f32d370ed2b1894c10
2022-11-02 08:02:19 +00:00
Mohd Bilal
52f21e7261 cli: refactor update package to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6524
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 919262c2618a1319441ce3730802c06bd5bd450a
2022-11-02 07:20:53 +00:00
Varun Choudhary
bb0b95dd77 console: fix gql try it button
This PR fix the issue with `GraphIQL Try` button. The issue is when we create a new schema other then public and try the gql operation using the `GraphIQL Try` button, it give the query and all but the query field is just only table name not the schemaName_table name so it will give me an error saying that query_field doesn’t exist

[Slack thread](https://hasurahq.slack.com/archives/CKATHV1J7/p1667214392972649?thread_ts=1667202504.721889&cid=CKATHV1J7)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6635
GitOrigin-RevId: e1403db0c3e63d88d2380fe1137137329910f990
2022-11-02 06:50:43 +00:00
Mohd Bilal
1538490bdd cli: refactor migrate/database/hasuradb package to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6514
GitOrigin-RevId: c4d83b28d8550f61167b6f4270166b9513f89891
2022-11-02 06:14:46 +00:00
Karthikeyan Chinnakonda
9177335c31 Source catalog migrations minor enhancements
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6531
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
GitOrigin-RevId: 51dd55692f59d6ad0fd54674fb7d3ce00d5d83dd
2022-11-01 22:42:40 +00:00
Solomon
f5c68ee49e Fixes chinook table/column customizations to have consistent casing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6642
GitOrigin-RevId: 629879fa057c3860aac1c3a83d2dfd199edb44e1
2022-11-01 22:08:59 +00:00
Lyndon Maydwell
4b968b17e0 ConfigSpec Data Connector Agent Test
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6616
GitOrigin-RevId: dd5582cd6b61b7412d931035c043daa5fbb55c71
2022-11-01 21:38:12 +00:00
Daniel Harvey
cc87b25373 [tests] - allow Postgres source DB port to be overwritten in api-tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6646
GitOrigin-RevId: b96a68c5eab1ac33a226d2d89141e0de9eaeff93
2022-11-01 21:05:00 +00:00
Tom Harding
fbcf90d56f Add a test for Distinct queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6426
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: 65387489ab0cabe0cb520799821380732ecef3e7
2022-11-01 19:58:46 +00:00
Rob Dominguez
600aaf9358 docs: add sla and update index
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6328
GitOrigin-RevId: 44aad1bee8189092901cd0b7890ab2102ec4ee8e
2022-11-01 18:04:34 +00:00
hasura-bot
d047ecefe2 docs : Updated screenshots in the docs fixes #8998
GITHUB_PR_NUMBER: 9148
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9148

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6500
Co-authored-by: Ayush Bajaj <68808280+BajajAyush@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 85eb4ceb11c5699ae8435740c0232d50ac623c6f
2022-11-01 17:33:34 +00:00