Rikin Kachhia
020e0bd841
docs: add hasuracon22 banner
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4826
GitOrigin-RevId: aea33ff304ab4fb228cb2cdfa978ea30fca2d918
2022-06-23 09:36:34 +00:00
hasura-bot
f23a8e4c42
docs: fix typo in event trigger docs
...
GITHUB_PR_NUMBER: 8616
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8616
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4829
Co-authored-by: Jonathan Schneider <9538230+jonaschn@users.noreply.github.com>
GitOrigin-RevId: a7e4e5844357e5a9a24a2b2833c3171137b59891
2022-06-23 09:33:07 +00:00
Samir Talwar
8db9b77c77
server: Reorganize quasi-quoted names.
...
Pretty much all quasi-quoted names in the server code base have ended up in `Hasura.GraphQL.Parser.Constants`. I'm now finding this unpleasant for two reasons:
1. I would like to factor out the parser code into its own Cabal package, and I don't want to have to expose all these names.
2. Most of them really have nothing to do with the parsers.
In order to remedy this, I have:
1. moved the names used by parser code to `Hasura.GraphQL.Parser.DirectiveName`, as they're all related to directives;
2. moved `Hasura.GraphQL.Parser.Constants` to `Hasura.Name`, changing the qualified import name from `G` to `Name`;
3. moved names only used in tests to the appropriate test case;
4. removed unused items from `Hasura.Name`; and
5. grouped related names.
Most of the changes are simply changing `G` to `Name`, which I find much more meaningful.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4777
GitOrigin-RevId: a77aa0aee137b2b5e6faec94495d3a9fbfa1348b
2022-06-23 09:15:31 +00:00
Daniel Chambers
d896cc4d95
Replace Haskell DC Reference Agent with TypeScript DC Reference Agent in HSpec tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4689
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 9dc6a2e373b3d7ab0bdce7ddcd7b7e6e5b1dc498
2022-06-23 08:09:46 +00:00
Varun Choudhary
866164357c
console: support naming convention in source customization for postgres DB [CON-297]
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4823
GitOrigin-RevId: a6a3bfcb9c7e16dd551d14dde3d424d07b8f1d15
2022-06-23 06:51:16 +00:00
Solomon
fbfa32207d
Fixes asyncActionsFetchIntervalEnv
help message.
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4832
GitOrigin-RevId: 0acc9f5ab5eb4ba6ee2eb45d870a80df0be223c1
2022-06-23 05:07:13 +00:00
Solomon
cb10636177
Updates arg parser HGE header
...
## Description ✍️
The `--help` header was out of date. This PR updates it to match the description on github.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4831
GitOrigin-RevId: 449f71b2901318132e45445632b1a8af358c0afb
2022-06-23 01:28:30 +00:00
Abhijeet Khangarot
d704103d8b
console: fix notifications not getting displayed on pro console
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4795
GitOrigin-RevId: f23f89683729092ace107f00515a3b90573e8f03
2022-06-22 19:20:01 +00:00
Varun Choudhary
1082b6f54d
console: update connection settings UI on connect db page [CON-273]
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4803
GitOrigin-RevId: d16ae487426c96ef1593f93524172a55837e2291
2022-06-22 13:14:59 +00:00
Varun Choudhary
d8304fcbaa
console: hide hdb_catalog from data section sidebar for SQL Server DB
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4804
GitOrigin-RevId: 3144e04fc69c691e760dc0c2c4735573bb0990c4
2022-06-22 13:14:49 +00:00
Antoine Leblanc
609cab89e6
Backend-agnostic custom scalars
...
### Description
This small clean-up PR makes one further step towards backend-agnostic actions: it makes all the code parsing custom types backend agnostic. Surprisingly, this could be done *without* the need to finish generalizing the column parser. The remaining sore point is async queries, that still target Postgres explicitly.
In theory, this is enough to start allowing non-Postgres scalars in custom types. In practice, however:
- no other backend exposes scalars in a way that would allow users to do that as of this PR;
- we currently have no strategy to avoid / detect scalar collisions across backends.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4691
GitOrigin-RevId: bfe63fb131e306663d4406697ce23c02736566c5
2022-06-22 13:14:40 +00:00
Daniel Harvey
d41a94b959
tooling: provide optional use_ghcup
in .envrc
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4774
GitOrigin-RevId: 9b0877543dd23f2b5e2782f793ae927a78f1986e
2022-06-22 13:14:30 +00:00
Benoit Ranque
e6614db17b
console: Hide timescaledb internal schema from data tab
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4439
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: 49c746e8d23b87363462942d4823c7ab9de2744e
2022-06-22 07:38:38 +00:00
paritosh-08
98d899d4ba
server: add update_source
API and extend add_source
to edit source customization
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4705
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
GitOrigin-RevId: d185f19c88c4030075522d001fdbc0bafa66db8f
2022-06-22 07:07:28 +00:00
Daniel Harvey
88ace749bc
server: Fix a bunch of HLint suggestions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4738
GitOrigin-RevId: d0c0b13ac02ca80e51ae3d582f2e6917f76ad202
2022-06-21 11:12:42 +00:00
Vishnu Bharathi
6b71746afd
ci: tag release v2.8.1 and v2.9.0-beta.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4805
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 10c5557319c7f106c251c308efee6c135edc3fcd
2022-06-21 10:10:10 +00:00
Brandon Simmons
80cc53aaac
server: vendor used bits of 'ip' package to cut dependencies
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4704
GitOrigin-RevId: 14759b410e99a1a97aa01b1139d9d61292301aff
2022-06-20 23:16:51 +00:00
Stefano Magni
1aa71145ba
console: Unify the Mutation Action E2E tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4509
GitOrigin-RevId: e5b579988b426cb44575c9674056f4b2e539c165
2022-06-20 21:40:07 +00:00
Rob Dominguez
631ca80750
docs: db-guides' screenshots for cloud updated
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4612
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 43159907d6a15dd2c28845e88c830570071ca101
2022-06-20 14:10:11 +00:00
Rob Dominguez
dc2823e268
docs: all cloud screenshots updated
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4683
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: e7e5e0934ab844712260c72ce3129cb7caef77e2
2022-06-20 13:57:47 +00:00
Daniel Harvey
4cd4eda81c
tooling: add test commands to Makefile
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4787
GitOrigin-RevId: 6fef3933dbc414ddc79f0f738e91e28bee4b8c4f
2022-06-20 13:34:05 +00:00
Samir Talwar
dd5198d0ba
Nix: Use nixpkgs-fmt
to format everything.
...
You can now run `nix fmt` (or `make format-changed`) to reformat Nix
files.
This is not enforced by CI.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4754
GitOrigin-RevId: a2e7cbe6c037d68ba6303278616314de60b6aa72
2022-06-20 13:02:45 +00:00
Erik Magnusson
bcc34fa7e6
style (console): migrate settings page to tailwind [CON-261]
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4680
GitOrigin-RevId: 45048baf3233904d2688f9f7a0b304ad8d0cd16a
2022-06-20 08:40:46 +00:00
Sooraj
210caf4cba
console: fix storybook interaction tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4780
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 73bf516f731d3e096a26d8a6ea65176fd83851d3
2022-06-20 07:27:20 +00:00
Varun Choudhary
b2bcb03824
console: disable edit, delete and select row from browse rows for mssql db
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4741
GitOrigin-RevId: 31c7190a961e17003c240e320d99a169d0428bc2
2022-06-20 05:25:08 +00:00
Stefano Magni
b2103cda61
console: Refactoring the Mutation Actions-related E2E tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4482
GitOrigin-RevId: bd628911e607ab41399b31f7dd8fe9c361e0f052
2022-06-17 14:07:16 +00:00
Gil Mizrahi
3e81ab3a57
server/postgres: test identifier uniqueness rewrite
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4693
GitOrigin-RevId: bd882835b86a37df125f79d5597826a15498fcaf
2022-06-17 10:44:18 +00:00
Daniel Harvey
03c93ad96f
server: Refactor TByteString
to SerializableBlob
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4736
GitOrigin-RevId: 446832b00c24205c2237666ac9d954277c5fd05d
2022-06-17 09:57:38 +00:00
Philip Lykke Carlsen
f33fad5fc1
Zendesk-5146 followup tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4768
GitOrigin-RevId: 2d182344d724cf0fc07ec73f8a3c4d786afe9243
2022-06-17 08:45:13 +00:00
Philip Lykke Carlsen
6a15d3ea5f
Fix zendesk-5146. Add check for empty columns in unique constraints g…
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4764
GitOrigin-RevId: 79e62f1ea2639ec81a48f5f71b58eaadf4fe6482
2022-06-17 07:49:20 +00:00
Sooraj
b099ee5d66
console: add new table relationships tab to console
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4582
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: 3b362076a60b2dee73ee84945de23a0e7c1bcef0
2022-06-16 18:11:38 +00:00
Daniel Harvey
921ada70e9
tooling: Opt-in shared tooling
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4753
GitOrigin-RevId: 3fc3324e584210e57e5acb9d8361d4e5b3caf26a
2022-06-16 17:12:35 +00:00
Stefano Magni
d769800086
console: Halt collecting the E2E tests code coverage CON-203
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4510
GitOrigin-RevId: 2fff40627278e6e8eb48bc4d466ce499e7669ca7
2022-06-16 16:18:26 +00:00
Erik Magnusson
21f9a614d2
fix: fixed isolated solution to failed bootstrap migration dropdown
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4740
GitOrigin-RevId: 2244e9834d3e979a0ffc1c6ed0774dd72cfa301e
2022-06-16 15:38:51 +00:00
Daniel Harvey
2bb1aa543c
server: runParse returns QErr
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4759
GitOrigin-RevId: c0bfe928e4cdb457b374df197b82c3882ae4410e
2022-06-16 12:22:30 +00:00
Daniel Harvey
0f97c27115
Replace ParseT
with Parse
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4724
GitOrigin-RevId: d742bc876ca11dbbe7e3f02bbdf9bf9c2440cbe6
2022-06-16 11:12:10 +00:00
Evie Ciobanu
8f0b3f6d06
server: build/run unit tests faster
...
This aims to support loading up a `ghci repl` with both the `graphql-engine` library and the unit tests. This is currently not officially supported by cabal, but it uses a hack, which is why I added a flag. See the updated documentation for more info.
Also see
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4739
GitOrigin-RevId: 5e7b15855a7a829ed76b5830be1efc9146d25da6
2022-06-16 10:39:24 +00:00
Daniel Harvey
249cbb914e
server: Replace ValidationT
with ExceptT
in ParseT
( close #3641 )
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4712
GitOrigin-RevId: 6acfd8dc2276962d333c68ac85a7a729e87b6d2d
2022-06-16 09:54:09 +00:00
Vishnu Bharathi
3458dafca4
ci: update centos image and skip test oss cli with last release job
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4749
GitOrigin-RevId: c4fc317336f7580851711379fc1802eb141e72e8
2022-06-16 08:52:48 +00:00
David Overton
5c7489cc23
Flesh out capabilities types
...
>
## Description ✍️
->
Fleshes out the Capabilities types used by Data Connector agents.
### Related Issues ✍
->
https://hasurahq.atlassian.net/browse/GDW-85
### Solution and Design ✍
>
Capabilities are divided into sections for queries, mutation, subscriptions, filtering and relationships:
```haskell
data Capabilities = Capabilities
{ cQueries :: Maybe QueryCapabilities,
cMutations :: Maybe MutationCapabilities,
cSubscriptions :: Maybe SubscriptionCapabilities,
cFiltering :: Maybe FilteringCapabilities,
cRelationships :: Maybe RelationshipCapabilities
}
```
Each section is optional. If the section is absent it means the the related capabilities are not supported by the agent.
The types for each section can contain additional details about exactly what is supported. E.g.
```haskell
data QueryCapabilities = QueryCapabilities
{ qcSupportsPrimaryKeys :: Bool
}
```
These are currently mostly empty, but will be filled in later.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4671
GitOrigin-RevId: 3d48570266bfce5e177a543a0ed6f63a7b450f0b
2022-06-16 08:31:07 +00:00
Tom Harding
16213a9b77
Remove resolveUnpreparedValue
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4743
GitOrigin-RevId: 1d532ac2475e292e587581ac840d056e3b96a951
2022-06-15 18:17:23 +00:00
Naveen Naidu
2526dd0114
server: fix create event trigger failure on tables with MSSQL reserved keywords as name
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4648
GitOrigin-RevId: 5e3eb614350b047f2e2384fea9b234bf0ad9d47f
2022-06-15 17:11:44 +00:00
Rakesh Emmadi
b4534c1177
server/bigquery: apply LIMIT to computed field subqueries
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4694
GitOrigin-RevId: 9a0b7dd4afa5257b12b9e0e02e26b2ca6d283c9d
2022-06-15 16:31:46 +00:00
Divi
c668aa1158
cli: improve error reporting in metadata apply
command
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4454
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: ae66bdfdc140c1a2a7747fb0ff2acd6f7b577d3f
2022-06-15 15:45:38 +00:00
Abhijeet Khangarot
132dffe4cf
console: add support for mssql event triggers
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4558
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 003710bc198caaf32a0c982d59aee9046d92aaf8
2022-06-15 14:56:37 +00:00
SidharthBihary
5be7dc7ad7
docs: Minor update to include traces in the context of logs and metrics in Metrics/Integration section, rectify typo
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4737
GitOrigin-RevId: 900564cc2f41c0cb09e788bc6f75b7e8a6f3f45e
2022-06-15 14:18:51 +00:00
Vishnu Bharathi
f96b5462ff
ci: tag release v2.8.0 and v2.8.0-pro.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4732
GitOrigin-RevId: cc258aff48eed06ab2b2086f71c5e5220f608038
2022-06-15 13:59:02 +00:00
Sandeep Raj Kumar
36e6283931
docs: cloud OpenTelemetry integration
...
>
## Description ✍️
Add docs for the OpenTelemetry Exporter Integration feature that is going to be added to EE and Cloud.
### Related Issues ✍
Issue [3698](https://github.com/hasura/lux/issues/3698 )
RFC - https://github.com/hasura/lux/pull/3831
implementation PR - [4000](https://github.com/hasura/lux/pull/4000 )
->
## Affected components ✍️
- ✅ Docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4608
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: c1a7914cc40cfe05213418fa6555f4198e92eca3
2022-06-15 13:32:08 +00:00
Abby Sassel
732ce2848f
server/docs: remove references to distinct_on in MSSQL docs
...
we don't yet support this. from discussion at https://hasurahq.slack.com/archives/C01RZPEPF0W/p1655211910120289 .
[docs preview](https://1316cb95.hasura-docs-mono.pages.dev/docs/latest/graphql/core/databases/ms-sql-server/queries/index/#auto-generated-query-field-schema )
github issue to implement the feature itself, to be prioritised separately: https://github.com/hasura/graphql-engine-mono/issues/4719
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4721
GitOrigin-RevId: b4bdb662c8a2045aef351064e5fdb2e16f4b7244
2022-06-15 12:44:17 +00:00
Divi
b50aecdae4
cli: fix perfomance regression with large metadata in metadata apply
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4661
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 48050e899592878c47c382281605a0c8666ddc8b
2022-06-15 12:39:43 +00:00