Vishnu Bharathi
9c90bb0b2c
ci: tag release v2.5.2 and v2.6.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4430
GitOrigin-RevId: 9080dac0ffa75558401716ed8b437d63ff1d82c1
2022-05-03 09:36:04 +00:00
Vamshi Surabhi
d5cb312f8b
replace SQLOperator with ScalarSelectionArguments
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4426
GitOrigin-RevId: 69beda27ccf4cb47dab80d59ec383704be805bf6
2022-05-03 09:00:01 +00:00
Sibi Prabakaran
c199215947
Unified setup for NestedRelationshipsSpec
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4378
GitOrigin-RevId: 3881591ad0ec109352e09a989377121550632fdd
2022-05-03 07:38:47 +00:00
Brandon Martin
5008b54813
Update CHANGELOG for known issue v2.6.0/v2.5.1
...
## Description ✍️
Update CHANGELOG for known issue v2.6.0/v2.5.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4409
GitOrigin-RevId: ae22b1b9e1845de48859be56af83426ee8556c9f
2022-05-02 13:31:01 +00:00
Naveen Naidu
955db8ab11
server: Use quote_ident for quoting table name when using regclass
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4413
Co-authored-by: Karthikeyan Chinnakonda <15602904+codingkarthik@users.noreply.github.com>
GitOrigin-RevId: 721fae15587bdab6f27b8d1189fe6e41c42097e7
2022-05-02 13:16:55 +00:00
Varun Choudhary
0580d6f727
CON-128-filter out scalar type from source type for RS-to-RS relationships
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4406
GitOrigin-RevId: 6421e1b2695870ba48ab0f095c3c82568e6ffd55
2022-05-02 12:20:55 +00:00
Varun Choudhary
bdaa6c38b9
console: allow users to remove prefix / suffix / root field namespace from a remote schema
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4379
GitOrigin-RevId: afdf4246c711c6972d7f33365cf98b75c1e6f78e
2022-05-02 06:24:22 +00:00
Daniel Chambers
4f835623b1
Rename Data Wrapper to Data Connector [GDW-89]
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4400
GitOrigin-RevId: 2d90542f95ef4dad70c8dfe1ca3b4c1f3bdaa527
2022-05-02 05:04:07 +00:00
Lyndon Maydwell
53ca4da79d
Fixing URL parameter for variable <name> not supported bug in REST endpoints for Dates
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4345
GitOrigin-RevId: 0b739530757ee1081d764d9582e3c0e648861d4e
2022-05-02 03:34:34 +00:00
Daniel Chambers
9453932112
Data Connector Agent Configuration via HGE Metadata [GDW-103]
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4358
GitOrigin-RevId: 36e18edf00ba0665b40a80c0b07c374ffcfe56e4
2022-05-01 23:02:08 +00:00
Matt Hardman
05bc304d7e
CON-124-create-a-metadata-selector-that-gets-db-to-rs-relationships
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4277
GitOrigin-RevId: 6c2c3128e1480e182f27290e9d6239c1ff95f5fc
2022-04-29 16:52:33 +00:00
hasura-bot
7312a92e5f
docs: add chinese translation for live-queries.md
...
GITHUB_PR_NUMBER: 6646
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6646
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/832
Co-authored-by: Berlin Chan <14348629+BerlinChan@users.noreply.github.com>
GitOrigin-RevId: 9c731b835d44398e05ad0f0c37ea9e8f82004e44
2022-04-29 08:21:38 +00:00
Abhijeet Khangarot
38db669e6b
console: add remote db relationship widget
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4365
GitOrigin-RevId: 7143110491d112879847e6cbfa141c8d62a311f7
2022-04-29 08:07:17 +00:00
Daniel Chambers
970d69edd4
Added BackendConfig to allow sources to share configuration of Data Connectors [GDW-78]
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4271
GitOrigin-RevId: 6990010bff622a424ca0bb9d24579bf121819fb0
2022-04-29 02:14:10 +00:00
Naveen Naidu
222419527f
server: refactor MaintenanceMode datatype
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4298
GitOrigin-RevId: 0b88d040bd4b24c61c4ae91e18dc6edf67b3672e
2022-04-28 20:56:11 +00:00
Naveen Naidu
1d641aa2ff
server: support query tags for MSSQL data sources
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4373
GitOrigin-RevId: 45717defdc973f3b7f1c9b972e2d3c836eec4476
2022-04-28 19:34:45 +00:00
hasura-bot
1123dd87b4
update README.md with pgAdmin password for connection settings
...
GITHUB_PR_NUMBER: 6473
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6473
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/391
Co-authored-by: estalldecker <6700086+estalldecker@users.noreply.github.com>
GitOrigin-RevId: 9f52efe0225e8d32bb4753c1993bee8cbbedd538
2022-04-28 14:45:30 +00:00
Rakesh Emmadi
030de648e3
server/bigquery: internal types and function to fetch routine information from BigQuery
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4376
GitOrigin-RevId: 30f2d0373dba262cc868ea48a613272ca19865f6
2022-04-28 12:38:27 +00:00
Marion Schleifer
0d66c316ce
docs: add feature docs for federation
...
This PR adds the following docs:
- Remote relationships for Postgres
- Remote schema -> Database
- Remote schema -> Remote schema
- Remote relationships for MS SQL Server
- Database -> Database
- Database -> Remote schema
- Remote schema -> Database
- Remote schema -> Remote schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4281
Co-authored-by: Vamshi Surabhi <6562944+0x777@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: dc6aa4d4cbcfd9c9ddc1df65c7b0f402cc2eafee
2022-04-28 09:14:27 +00:00
Sibi Prabakaran
88f8c676d4
Update hspec documentation for TestEnvironment
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4386
GitOrigin-RevId: 471b538316f2766ccd7d8919299d947f9b2ac4a4
2022-04-28 08:59:09 +00:00
Alberto Francesco Motta
b21d1c0495
changelog: update for v2.6.0 release
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4385
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: b61cbd40163568cbc5f550ff9ed3157f5c0b474b
2022-04-28 08:46:55 +00:00
Solomon
db1c50affa
Feature/gdw execute array literals GDW-82
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4319
GitOrigin-RevId: 20db2a1eb6e8521c4e572aa642c802129792468f
2022-04-28 01:53:06 +00:00
Abby Sassel
25d77afaff
server/tests: Fix BigQuery test failure Job exceeded rate limits
error in CI
...
Fixes https://github.com/hasura/graphql-engine-mono/issues/3695 .
Error: [BigQuery test failure Job exceeded rate limits](https://github.com/hasura/graphql-engine-mono/issues/3695 )
Cause:
1. [this command](2325755954/.circleci/test-server.sh (L1263)
) runs tests matching the `Bigquery or Common` string, for the `test-oss-server-bigquery` CI job.
2. in this case, the pytest filter matched on `TestGraphQLQueryBoolExpSearchCommon`. Although unrelated pytests are skipped, BQ setup and teardown runs uneccesarily for the [MSSQL and Postgres backends](e444cf1f5d/server/tests-py/test_graphql_queries.py (L868)
).
4. the setup and teardown runs three times in quick succession, _for each of_ SQL Server, Postgres and BigQuery. Occasionally, this surpassed [BigQuery's maximum rate of 5 table update operations in 10 seconds](https://cloud.google.com/bigquery/quotas#load_job_per_table.long ).
Fix: restrict setup/teardown to only the relevant backends...
- Hotfix (this PR): ...by renaming pytest classes and changing the pytest filters in `test-server`
- ok, this is faintly horrifying and an inelegant convention change. On the bright side, it shaves a minute or so off our integration test suite run by skipping fewer tests. Anecdata for `test-oss-server-bigquery`
- before: 87 passed, 299 skipped, 1 warning, 1 error in 192.99s
- after: 87 passed, 20 skipped, 1 warning in 170.82s
- [`Common` was a terrible name, anyway](https://github.com/hasura/graphql-engine-mono/issues/2079 ), for `AnyCombinationOfBackends`.
- Better fix: ...by refactoring the `conftest.py` helpers. I ran out of a timebox so will write up a separate issue. Given we're actively [porting pytests over to hspec](https://github.com/hasura/graphql-engine/issues/8432 ), I don't know how much it's worth investing time in a refactor.
To verify the fix: I ran a full CI build a few times [[1]](https://buildkite.com/hasura/graphql-engine-mono/builds/8069#078c781a-c8ef-44f2-a400-15f91fb88e42 )[[2]](https://buildkite.com/hasura/graphql-engine-mono/builds/8072#f9e7f59d-264f-46a4-973d-21aa762cca35 )[[3]](https://buildkite.com/hasura/graphql-engine-mono/builds/8075#bb104e80-ff76-408c-a46b-6f40e92e6317 ) whilst troubleshooting to convince myself this fixed the problem.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4362
GitOrigin-RevId: 4c3283f0654b70e9dcda642d9012f6376aa95290
2022-04-27 18:40:41 +00:00
Antoine Leblanc
f684fecc6c
Cut ties with RQL.DML.Internal
...
## Description
As the name suggests, `DML.Internal` contains internal implementation details of RQL's DML. However, a lot of unrelated parts of the codebase still use some of the code it contains. This PR fixes this, and removes all imports of `RQL.DML.Internal` from outside of `RQL.DML`. Most of the time, this involves moving a function out of `DML.Internal` to an underlying module (see `getRolePermInfo`) or moving a function _back_ into it (see `checkRetCols`).
This PR also clarifies a bit the situation with `withTyAnn` and `withTypeAnn` by renaming the former into `withScalarTypeAnn` and moving them together. Worth noting: there might be a bug lurking in that function, as it doesn't seem to use the proper type annotations for some extension types!
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4380
GitOrigin-RevId: c8ae5b4e8378fefc0bcccf778d97813df727d3cb
2022-04-27 15:37:23 +00:00
Antoine Leblanc
3cbcbd9291
Remove RQL/Types.hs
...
## Description
This PR removes `RQL.Types`, which was now only re-exporting a bunch of unrelated modules.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4363
GitOrigin-RevId: 894f29a19bff70b3dad8abc5d9858434d5065417
2022-04-27 13:58:47 +00:00
hasura-bot
e61f163d4f
docs: add Azure trace integration
...
GITHUB_PR_NUMBER: 8381
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8381
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4167
Co-authored-by: SidharthBihary <75970352+SidharthBihary@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: fc675a65ef83a7f439e32f324fa7626c0719cd16
2022-04-27 12:56:08 +00:00
Philip Lykke Carlsen
135c56eaa3
Simplify getRolePermInfo
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4348
GitOrigin-RevId: a8973624ae3100e5ca12f7c05962d1442c226750
2022-04-27 12:17:15 +00:00
Sooraj
3dfc05c620
console: add database to remote schema form component
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4303
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 83c11abcb6a29338d5bdd8c0914cfeaaca524b5b
2022-04-27 11:15:55 +00:00
Vishnu Bharathi
d78f6df534
ci: tag release v2.6.0
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4377
GitOrigin-RevId: defb105c8c21216db47285521ce3034c523e6c0a
2022-04-27 10:12:15 +00:00
Vijay Prasanna
6a12893109
console: improvements to ListMap component
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4331
GitOrigin-RevId: 4d2053ba1793f5419aff1f58357a40b2e777924b
2022-04-27 07:18:33 +00:00
Antoine Leblanc
8b0b4e5c35
Remove all functions from RQL.Types.hs
...
## Description
This small PR moves all functions in `RQL.Types.hs` to better locations. Most `askX` functions are moved alongside the `unsafe` functions they use. Several other functions are moved closer to their call site. `MetadataM` is moved alongside `Metadata`. This PR also documents the `ask` functions.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4355
GitOrigin-RevId: 0498a7e8f98e7a94af911dd375cad84ace7ddffa
2022-04-26 15:13:57 +00:00
Rakesh Emmadi
6611fbd625
server/mssql: avoid encoding varchar values while generating SQL
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4314
GitOrigin-RevId: 852bc941782414c7d190c6195ff367493b927639
2022-04-26 13:48:37 +00:00
Vijay Prasanna
c2ab5854f9
console: bug fixes for RS-to-RS relationships
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4357
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: a695071a42a921e36082d99af110323298cb5569
2022-04-26 12:31:50 +00:00
Marion Schleifer
8d8d0cf998
docs: add matrix for db support
...
This PR adds matrixes for DB support based on these [Data Sources Compatibility slides](https://docs.google.com/presentation/d/1Hvk1ubxv4qOSiWCqAPEQYIQ7SZKkeouj5HAzBRWtMis/edit#slide=id.g124503388bb_0_0 ) on the [Databases index page](https://hasura.io/docs/latest/graphql/core/databases/index/ ).
Issue: https://github.com/hasura/graphql-engine-mono/issues/3808 .
Screenshots:
<img width="625" alt="image" src="https://user-images.githubusercontent.com/5722022/164986188-419b74b2-6ea7-4afa-a015-e88894896325.png ">
<img width="670" alt="image" src="https://user-images.githubusercontent.com/5722022/164986200-1372fa70-c6e7-40b3-9808-d037697d3149.png ">
<img width="588" alt="image" src="https://user-images.githubusercontent.com/5722022/164986209-be3f441a-f75a-47d9-bd7b-f397f871dbf4.png ">
<img width="691" alt="image" src="https://user-images.githubusercontent.com/5722022/164986219-1ba713b6-4b56-44d7-bc9d-abb063330dbc.png ">
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4341
Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 43f85be2a9ee5cf861519dfcbf22b4160b8f1fe8
2022-04-26 11:01:46 +00:00
Karthikeyan Chinnakonda
5b95599b54
docs: refactor streaming subscription docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4350
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 230263a5c3446a6761e000dcef4994237a720df9
2022-04-26 07:20:52 +00:00
Vamshi Surabhi
9bbc802f27
docs: document remote relationship metadata APIs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4265
GitOrigin-RevId: 16f3cd8ba96535bc1f2ed566cc3debff463726a6
2022-04-25 14:05:34 +00:00
Vishnu Bharathi
0016d3cad5
cli: avoid exporting hasura-specific schemas during hasura init
...
fixes https://github.com/hasura/graphql-engine/issues/8352
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4178
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: eff7067c34932435207eff794f9435356b55b666
2022-04-25 13:06:52 +00:00
Marion Schleifer
f0c04279be
docs: fix mssql event trigger apis
...
[This PR](https://github.com/hasura/graphql-engine-mono/pull/3392 ) was merged by accident without docs review.
This PR suggests some fixes for this PR.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4339
GitOrigin-RevId: 8c7b1efcc98f43b457a88851a697ac9576582a5b
2022-04-25 13:06:44 +00:00
Karthikeyan Chinnakonda
3aa2cf5064
server: streaming subscriptions v1 (docs only)
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2948
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com>
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
GitOrigin-RevId: 9c02d34a525141fa41e894596f236525822dd1e0
2022-04-25 07:56:16 +00:00
Karthikeyan Chinnakonda
2325755954
server: streaming subscriptions schema generation and tests (incremental PR - 3)
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4259
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com>
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
GitOrigin-RevId: 4d1b4ec3c01f3a839f4392d3b77950fc3ab30236
2022-04-22 19:54:11 +00:00
Evie Ciobanu
0060a48009
server: minor nit-picks for the Postgres Select module split
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4338
GitOrigin-RevId: c2125275b32a5084c5a96afba79d4cb6c65687a8
2022-04-22 17:19:58 +00:00
Antoine Leblanc
9eca586655
Remove HasSystemDefined
.
...
### Description
`HasSystemDefined` is defined in `RQL.Types`, but only used in one place, `LegacyCatalog`, to avoid passing a boolean around. It is easily replaced by an ad-hoc `ReaderT`.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4337
GitOrigin-RevId: 649d758bb2b18b39533429dda5ab71afde62fb53
2022-04-22 16:02:06 +00:00
Antoine Leblanc
ea32b8bf82
Move HasServerConfigCtx
to Hasura.Server.Types
.
...
### Description
Small PR that moves code out of `RQL.Types.hs`. Specifically, it moves `HasServerConfigCtx` to where `ServerConfigCtx` is defined. This removes code from `RQL.Types`, makes the dependency on `Server.Types` more explicit, and will make some further cleanups easier.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4336
GitOrigin-RevId: 95bb3467d741763892c4e68a38760497157ba1aa
2022-04-22 14:51:00 +00:00
Philip Lykke Carlsen
9a557ceeee
Split up module Hasura.Backend.Postgres.Translate.Select
into sub-modules
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4334
GitOrigin-RevId: d083512f3c4e534a10e571eeab10308ad45cc7a0
2022-04-22 13:39:40 +00:00
Abhijeet Khangarot
4f9a08239d
console: add db to local relationship widget
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4169
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 1c4ea2412d2f43dc3524f705d2b8f1847991c06d
2022-04-22 12:39:35 +00:00
Rakesh Emmadi
1231d1145b
server/tests: add hspec test case to parse legacy remote relationship definition json
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4327
GitOrigin-RevId: 321d59bb1f7e51d37893838cd6262a865eb943c5
2022-04-22 11:34:38 +00:00
Sibi Prabakaran
c9a5d51c70
Implements TestGraphQLBasicCommon tests using hspec
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4296
GitOrigin-RevId: aa442d7fa33464546fd3821fe989c738cc853c7c
2022-04-22 10:33:34 +00:00
Philip Lykke Carlsen
e444cf1f5d
Enhance pytest expectation overwriting via --accept
flag
...
The pytest function `with_admin_secret` supports overwriting expectations. With this PR that support integrates with the pytest flag `--accept`.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4330
GitOrigin-RevId: 8246588306487db03f1c09483f4447106805321c
2022-04-21 18:05:20 +00:00
Philip Lykke Carlsen
df36cdac09
Refactor insert mutations IR use of "default values"
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4316
GitOrigin-RevId: 91f80902a2dc2a782821033f455c70c4e96f0950
2022-04-21 16:34:04 +00:00
Vishnu Bharathi
7a6e38bd0a
ci: tag release v2.5.1 and v2.6.0-beta.2
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4325
GitOrigin-RevId: 4b1aa341fe1feffcdb3e14e0465b191eab6e0204
2022-04-21 14:13:40 +00:00