Commit Graph

5389 Commits

Author SHA1 Message Date
Samir Talwar
133a9b7452 server/tests-py: Generate random ports for helper services.
If the tests are run with specific ports assigned to specific services,
set through the environment variables, we continue to use those ports.
We just don't hard-code them now, we pick them up from the environment
variables.

However, if the environment variables are not set, we generate a random
port for each service. This allows us to run multiple tests in parallel
in the future, independently.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6218
GitOrigin-RevId: 3d2a1880bf67544c848951888ce7b4fa1ba379dc
2022-10-21 17:34:21 +00:00
Aravind K P
1aa5cbb195 cli: port metadataobject/allowlist package to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6396
GitOrigin-RevId: 180eaa60613985334681bd9011f910c3f3d6afb2
2022-10-21 16:57:31 +00:00
Samir Talwar
c3afa0fdd7 Install and use ODBC Driver 18 for SQL Server (msodbcsql18).
This installs the ODBC Driver 18 for SQL Server in all our shipped Docker images, and update our tests and documentation accordingly.

This version supports arm64, and therefore can run natively (or via Docker) on macOS on aarch64.

`msodbcsql17` is still installed in production-targeted Docker images so that users do not _have_ to migrate to the new driver.

Nix expressions are packaged for the new driver, as it is not yet available in nixpkgs.

In this version, [the default encryption setting was changed from "no" to "yes"](https://techcommunity.microsoft.com/t5/sql-server-blog/odbc-driver-18-0-for-sql-server-released/ba-p/3169228). In addition, "mandatory" and "optional" were added as synonyms for "yes" and "no" respectively.

I have therefore modified all connection strings in tests to specify `Encrypt=optional` (and changed some from `Encrypt=no`). I chose "optional" rather than "no" because I feel it's more honest; these connection strings will work with or without an encrypted connection.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6241
GitOrigin-RevId: 959f88dd1f271ef06a3616bc46b358f364f6cdfd
2022-10-21 16:25:04 +00:00
Aravind K P
3cec172f6f cli: port metadataobject/rest_endpoints to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6424
GitOrigin-RevId: 3b210e6f6b47756e7941fcb14e960674718855a1
2022-10-21 14:51:38 +00:00
Gil Mizrahi
d12827561b NDAT-207 fix unique constraints and indexes for cockroachdb
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6444
GitOrigin-RevId: 2baf2c954aeead47b82396cafe703e41e0f201a2
2022-10-21 14:03:55 +00:00
Gil Mizrahi
9c3bd2f0d0 server/postgres: fix the schema types conflict between aggregation predicates and table selection aggregates
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6452
GitOrigin-RevId: ed43442c7ade298659bdc42ff76e8e229825f0f1
2022-10-21 13:28:43 +00:00
Daniel Harvey
ac4b15c07b CI: reject unused imports
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6466
GitOrigin-RevId: 157a51f338e4e80dffedb8b0dcf57173ba6bd126
2022-10-21 11:12:53 +00:00
hasura-bot
bbe61bff60 add italian translation for README.md
GITHUB_PR_NUMBER: 9096
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9096

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6299
Co-authored-by: Befire <92724051+Francesca-Belfiore@users.noreply.github.com>
GitOrigin-RevId: 2a15a2e07c7101658039360830d92a998f8938bc
2022-10-21 09:57:33 +00:00
Luca Restagno
b591d68d81 Console: refactor the table Modify tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6419
GitOrigin-RevId: 620e37be5275e339bff2d3da6758d894f035987f
2022-10-21 09:52:06 +00:00
paritosh-08
e692c3b20d server: add IF EXISTS while dropping the constraint in source migration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6457
GitOrigin-RevId: 1e76ca71c35cf117da7a073080df8a39e5820ddd
2022-10-21 04:44:08 +00:00
Vamshi Surabhi
a01d1188f2 scaffolding for remote-schemas module
The main aim of the PR is:

1. To set up a module structure for 'remote-schemas' package.
2. Move parts by the remote schema codebase into the new module structure to validate it.

## Notes to the reviewer

Why a PR with large-ish diff?

1. We've been making progress on the MM project but we don't yet know long it is going to take us to get to the first milestone. To understand this better, we need to figure out the unknowns as soon as possible. Hence I've taken a stab at the first two items in the [end-state](https://gist.github.com/0x777/ca2bdc4284d21c3eec153b51dea255c9) document to figure out the unknowns. Unsurprisingly, there are a bunch of issues that we haven't discussed earlier. These are documented in the 'open questions' section.

1. The diff is large but that is only code moved around and I've added a section that documents how things are moved. In addition, there are fair number of PR comments to help with the review process.

## Changes in the PR

### Module structure

Sets up the module structure as follows:

```
Hasura/
  RemoteSchema/
    Metadata/
      Types.hs
    SchemaCache/
      Types.hs
      Permission.hs
      RemoteRelationship.hs
      Build.hs
    MetadataAPI/
      Types.hs
      Execute.hs
```

### 1. Types representing metadata are moved

Types that capture metadata information (currently scattered across several RQL modules) are moved into `Hasura.RemoteSchema.Metadata.Types`.

- This new module only depends on very 'core' modules such as
  `Hasura.Session` for the notion of roles and `Hasura.Incremental` for `Cacheable` typeclass.

- The requirement on database modules is avoided by generalizing the remote schemas metadata to accept an arbitrary 'r' for a remote relationship
  definition.

### 2. SchemaCache related types and build logic have been moved

Types that represent remote schemas information in SchemaCache are moved into `Hasura.RemoteSchema.SchemaCache.Types`.

Similar to `H.RS.Metadata.Types`, this module depends on 'core' modules except for `Hasura.GraphQL.Parser.Variable`. It has something to do with remote relationships but I haven't spent time looking into it. The validation of 'remote relationships to remote schema' is also something that needs to be looked at.

Rips out the logic that builds remote schema's SchemaCache information from the monolithic `buildSchemaCacheRule` and moves it into `Hasura.RemoteSchema.SchemaCache.Build`. Further, the `.SchemaCache.Permission` and `.SchemaCache.RemoteRelationship` have been created from existing modules that capture schema cache building logic for those two components.

This was a fair amount of work. On main, currently remote schema's SchemaCache information is built in two phases - in the first phase, 'permissions' and 'remote relationships' are ignored and in the second phase they are filled in.

While remote relationships can only be resolved after partially resolving sources and other remote schemas, the same isn't true for permissions. Further, most of the work that is done to resolve remote relationships can be moved to the first phase so that the second phase can be a very simple traversal.

This is the approach that was taken - resolve permissions and as much as remote relationships information in the first phase.

### 3. Metadata APIs related types and build logic have been moved

The types that represent remote schema related metadata APIs and the execution logic have been moved to `Hasura.RemoteSchema.MetadataAPI.Types` and `.Execute` modules respectively.

## Open questions:

1. `Hasura.RemoteSchema.Metadata.Types` is so called because I was hoping that all of the metadata related APIs of remote schema can be brought in at `Hasura.RemoteSchema.Metadata.API`. However, as metadata APIs depended on functions from `SchemaCache` module (see [1](ceba6d6226/server/src-lib/Hasura/RQL/DDL/RemoteSchema.hs (L55)) and [2](ceba6d6226/server/src-lib/Hasura/RQL/DDL/RemoteSchema.hs (L91)), it made more sense to create a separate top-level module for `MetadataAPI`s.

   Maybe we can just have `Hasura.RemoteSchema.Metadata` and get rid of the extra nesting or have `Hasura.RemoteSchema.Metadata.{Core,Permission,RemoteRelationship}` if we want to break them down further.

1. `buildRemoteSchemas` in `H.RS.SchemaCache.Build` has the following type:

   ```haskell
   buildRemoteSchemas ::
     ( ArrowChoice arr,
       Inc.ArrowDistribute arr,
       ArrowWriter (Seq CollectedInfo) arr,
       Inc.ArrowCache m arr,
       MonadIO m,
       HasHttpManagerM m,
       Inc.Cacheable remoteRelationshipDefinition,
       ToJSON remoteRelationshipDefinition,
       MonadError QErr m
     ) =>
     Env.Environment ->
     ( (Inc.Dependency (HashMap RemoteSchemaName Inc.InvalidationKey), OrderedRoles),
       [RemoteSchemaMetadataG remoteRelationshipDefinition]
     )
       `arr` HashMap RemoteSchemaName (PartiallyResolvedRemoteSchemaCtxG remoteRelationshipDefinition, MetadataObject)
   ```

   Note the dependence on `CollectedInfo` which is defined as

   ```haskell
   data CollectedInfo
     = CIInconsistency InconsistentMetadata
     | CIDependency
         MetadataObject
         -- ^ for error reporting on missing dependencies
         SchemaObjId
         SchemaDependency
     deriving (Eq)
   ```

   this pretty much means that remote schemas is dependent on types from databases, actions, ....

   How do we fix this? Maybe introduce a typeclass such as `ArrowCollectRemoteSchemaDependencies` which is defined in `Hasura.RemoteSchema` and then implemented in graphql-engine?

1. The dependency on `buildSchemaCacheFor` in `.MetadataAPI.Execute` which has the following signature:

   ```haskell
   buildSchemaCacheFor ::
     (QErrM m, CacheRWM m, MetadataM m) =>
     MetadataObjId ->
     MetadataModifier ->
   ```

   This can be easily resolved if we restrict what the metadata APIs are allowed to do. Currently, they operate in an unfettered access to modify SchemaCache (the `CacheRWM` constraint):

   ```haskell
   runAddRemoteSchema ::
     ( QErrM m,
       CacheRWM m,
       MonadIO m,
       HasHttpManagerM m,
       MetadataM m,
       Tracing.MonadTrace m
     ) =>
     Env.Environment ->
     AddRemoteSchemaQuery ->
     m EncJSON
   ```

   This should instead be changed to restrict remote schema APIs to only modify remote schema metadata (but has access to the remote schemas part of the schema cache), this dependency is completely removed.

   ```haskell
   runAddRemoteSchema ::
     ( QErrM m,
       MonadIO m,
       HasHttpManagerM m,
       MonadReader RemoteSchemasSchemaCache m,
       MonadState RemoteSchemaMetadata m,
       Tracing.MonadTrace m
     ) =>
     Env.Environment ->
     AddRemoteSchemaQuery ->
     m RemoteSchemeMetadataObjId
   ```

   The idea is that the core graphql-engine would call these functions and then call
   `buildSchemaCacheFor`.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6291
GitOrigin-RevId: 51357148c6404afe70219afa71bd1d59bdf4ffc6
2022-10-21 03:15:04 +00:00
hasura-bot
be0d64b5d8 Update troubleshooting.mdx adding client-side error solution
GITHUB_PR_NUMBER: 9077
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9077

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6216
Co-authored-by: Utsav Paul <91927689+Smartmind12@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 3e1c1c089bdd0755203dba859dfca85baf38d96d
2022-10-20 19:05:50 +00:00
Samir Talwar
c2cb07f7e8 server/tests-py: Start webhook.py inside the test harness.
We use a helper service to start a webhook-based authentication service for some tests. This moves the initialization of the service out of _test-server.sh_ and into the Python test harness, as a fixture.

In order to do this, I had to make a few changes. The main deviation is that we no longer run _all_ tests against an HGE with this authentication service, just a few (those in _test_webhook.py_). Because this reduced coverage, I have added some more tests there, which actually cover some areas not exacerbated elsewhere (mainly trying to use webhook credentials to talk to an admin-only endpoint).

The webhook service can run both with and without TLS, and decide whether it's necessary to skip one of these based on the arguments passed and how HGE is started, according to the following logic:

* If a TLS CA certificate is passed in, it will run with TLS, otherwise it will skip it.
* If HGE was started externally and a TLS certificate is provided, it will skip running without TLS, as it will assume that HGE was configured to talk to a webhook over HTTPS.
* Some tests should only be run with TLS; this is marked with a `tls_webhook_server` marker.
* Some tests should only be run _without_ TLS; this is marked with a `no_tls_webhook_server` marker.

The actual parameterization of the webhook service configuration is done through test subclasses, because normal pytest parameterization doesn't work with the `hge_fixture_env` hack that we use. Because `hge_fixture_env` is not a sanctioned way of conveying data between fixtures (and, unfortunately, there isn't a sanctioned way of doing this when the fixtures in question may not know about each other directly), parameterizing the `webhook_server` fixture doesn't actually parameterize `hge_server` properly. Subclassing forces this to work correctly.

The certificate generation is moved to a Python fixture, so that we don't have to revoke the CA certificate for _test_webhook_insecure.py_; we can just generate a bogus certificate instead. The CA certificate is still generated in the _test-server.sh_ script, as it needs to be installed into the OS certificate store.

Interestingly, the CA certificate installation wasn't actually working, because the certificates were written to the wrong location. This didn't cause any failures, as we weren't actually testing this behavior. This is now fixed with the other changes.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6363
GitOrigin-RevId: 0f277d374daa64f657257ed2a4c2057c74b911db
2022-10-20 19:00:01 +00:00
Abby Sassel
639ce90c4c NDAT-164 CockroachDB 'Getting Started' Docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6386
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 92b7fce2e63c0baab84271d74116a27187dfa270
2022-10-20 17:07:40 +00:00
Nicolas Beaussart
6289b06453 platform: rename codebases and re import code
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6450
GitOrigin-RevId: 4ee8e72fe62edef0f04be9f6dc66b3788dc9a0f4
2022-10-20 16:21:56 +00:00
Luca Restagno
9eef32d957 docs: update hasura data types for > 53 bit types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6418
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: f697c5ef96ffa9f70eecaf9af5b9658ae4db5aea
2022-10-20 15:43:14 +00:00
Mohd Bilal
0c8b80ee71 cli: port commonmetadata package to use internal/errors package
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6318
GitOrigin-RevId: 2274c535f5475d50fbfdf645572b8553625a87fc
2022-10-20 15:18:46 +00:00
Erik Magnusson
631f3994c2 console: added cloned row values to payload if they exist
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6447
GitOrigin-RevId: 23e7dd1e5a4cd3c79835f750fff1404fdf134da2
2022-10-20 14:36:50 +00:00
Daniel Harvey
be9c3e5a66 tests: remove unused imports
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6456
GitOrigin-RevId: 563ce912236552c4bf75dc7f7f506b7dced25118
2022-10-20 13:14:00 +00:00
Lyndon Maydwell
37c65d4395 Support MetadataDefaults Options - GDC-108
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6286
GitOrigin-RevId: ef861e6070e667322fb2657166d3d343d6cab4bc
2022-10-20 12:46:45 +00:00
Vijay Prasanna
a9c887cd16 tests (console): add tests for getTableName util function
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6375
GitOrigin-RevId: 82acd22d60a878c6619158637290c923cd8b43f0
2022-10-20 11:35:16 +00:00
Nicolas Inchauspe
c274cb8a44 console: Prometheus settings in console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5743
GitOrigin-RevId: 6c6a10cabaf70437508b377fc9bb30b40537429e
2022-10-20 10:35:27 +00:00
hasura-bot
8615693815 Malayalam(ml_IN) translation for SECURITY.md
GITHUB_PR_NUMBER: 9100
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9100

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6454
Co-authored-by: Sarang S <85063520+eigengravy@users.noreply.github.com>
GitOrigin-RevId: 5385659d32327e0324a81283a6c2179151ecd7f8
2022-10-20 08:52:57 +00:00
Anon Ray
e22b3816d9 server: fix the 'starting API server' log to be in correct place
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5198
GitOrigin-RevId: a70477086778697d04042a779e77a8fd74220d2d
2022-10-20 08:30:36 +00:00
Aravind K P
754fb6e8b9 cli: port metadataobject/crontriggers to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6398
GitOrigin-RevId: 25f9964b3eecb2f89d482401d425752bd7d33708
2022-10-20 07:54:31 +00:00
Aravind K P
3d7effbcc1 cli: refactor metadataobject.WriteDiff to use std error
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6389
GitOrigin-RevId: 731b74ae5bb1ad0479c141f1e66795d9fd21e9e3
2022-10-20 06:58:52 +00:00
Samir Talwar
0a66d87305 server/tests-py: Upgrade to postgresql-client-15.
This means we can run `TestPGDump` against it.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6372
GitOrigin-RevId: 2512a1f372342e5793b97aeb34f19b92be99b6b2
2022-10-20 05:57:30 +00:00
Matthew Goodwin
afa1b27969 GDC Modify Tab - Table Comment and Table Columns
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6349
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 6053990f341b1fcc4e20371f14fa60dccc4c40f0
2022-10-20 05:18:47 +00:00
Aravind K P
e89895b5f1 cli: refactor metadataobject.GetFiles to use std error
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6388
GitOrigin-RevId: 4ae565fc7d7a9275473a736aac78a2da7d031260
2022-10-20 04:36:56 +00:00
Daniel Chambers
84b84a78e1 Add column scalar type information Data Connector query API request [GDC-493]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6433
GitOrigin-RevId: c5f5e0c2e25c6820d9f73a1e90699cf18dc4cd47
2022-10-20 03:24:53 +00:00
Rakesh Emmadi
1c745959b9 relocate 'ServerReplicas' and 'ResizePoolStrategy' types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6448
GitOrigin-RevId: 2d317fd004db63e2830dfb8def92acb51bb576a0
2022-10-20 01:34:17 +00:00
Solomon
3e3ebe9743 Update Kriti to 0.3.3
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6430
GitOrigin-RevId: 5430f6c6b89f5f5dd65bd6ecf086fa5516a95140
2022-10-20 00:59:23 +00:00
Antoine Leblanc
49d0594759 [server] prune join fields of remote relationships to remote schema (close hasura/graphql-engine#8345)
## Description

This PR fixes hasura/graphql-engine#8345: when creating the final representation of a remote relationship to a remote schema (a `RemoteJoin`), we would mistakenly label ALL join fields in the selection set as being relevant to that one relationship: if there are more than one remote relationship to process in that selection set, that would be the union of all their join fields. The problem with this error is that, when processing remote relationships, we correctly ignore all the ones for which at least one join key is null. Consequently, this error would result in us ignoring remote relationships for which an _unrelated_ join key was null, resulting in that data missing in the final JSON result.

This PR simply ensures that the aggregation of fields that are passed to `createRemoteJoin` is pruned to only contain the fields relevant to the join being created. This is a very small change, and the bulk of this PR is the regression tests.

## Changelog

__Component__ : server
__Type__: bugfix
__Product__: community-edition

### Short Changelog

fix remote relationship to remote schema sometimes being erroneously null when multiple relationships are defined on the same table / graphql object ([#8345](https://github.com/hasura/graphql-engine/issues/8345))

### Long Changelog

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6420
GitOrigin-RevId: eb54462724b007f80b674dcf234adf6d9cfaaf79
2022-10-20 00:11:51 +00:00
Brandon Simmons
cc6f1c3b69 multitenant: make ourIdleGC parameters tunable, and with better defaults (SRE-191)
Context: https://hasurahq.atlassian.net/browse/SRE-10

Also remove an overlapping instance.

-----

The new flags if this needs to be tweaked on production by SRE are:

- --idleGCIdleInterval : "When the system has been idle for idleGCIdleInterval we may opportunistically try a major GC to run finalizers"
-  --idleGCMinGCInterval : "We never run an opportunistic GC unless it has been at least idleGCMinGCInterval seconds since the last major GC"
-  --idleGCMaxNoGCInterval : "If it has been longer than idleGCMaxNoGCInterval since the last major GC, force a GC to run finalizers"

Be aware: we may see memory usage grow to higher peaks than before, especially when under load

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6449
GitOrigin-RevId: 662d2f968f0d73b3b6eebb857c49aaede3312705
2022-10-19 21:36:56 +00:00
Nicolas Beaussart
dd493c1781 ci: bump memory to 4gb for node related pipelines
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6436
GitOrigin-RevId: 4dd6779bdfbbba40e47de88b05be30f62b545d22
2022-10-19 21:01:34 +00:00
Samir Talwar
5691d95ecf Delete docs-old.
Seriously, do we actually need it?

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6441
GitOrigin-RevId: efbe436981c303f4881a5ccff01487b12248be7e
2022-10-19 14:25:02 +00:00
Shraddha Agrawal
34e731d296 docs: remove duplicated warnings in preview app docs
This PR removes the duplicate warnings in preview app docs.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5068
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: eac156c9423f60c7b1a1147f4b2bff1a832a7d6d
2022-10-19 13:25:25 +00:00
Aravind K P
4b1ab8bf67 cli: refactor metadataobject.Object interface to use std error
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6387
GitOrigin-RevId: 5a18fb9b26eaf9bc9a1b55ae79ce18e4147f4aa3
2022-10-19 12:52:46 +00:00
Vijay Prasanna
ff94621ea0 chore (console): format changes on mockServiceWorker.js
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6431
GitOrigin-RevId: ff59eaab924e3884ac65badeb3283e9307d8d753
2022-10-19 10:16:34 +00:00
Gil Mizrahi
c6fdb44388 Test on_conflict on cockroachdb.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6423
GitOrigin-RevId: 58e1c3f60934332720cadb74c8cb29730e797287
2022-10-19 08:51:49 +00:00
Daniele Cammareri
e91cba835b fix remote schema permissions with null default value
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6414
GitOrigin-RevId: 1b902b1ac7c541bdd79f933ef6fc008f875b517a
2022-10-19 06:46:55 +00:00
Vijay Prasanna
67087043c9 feature (console): allow user to view and update existing filter/sort(s) on GDC browse rows
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6344
GitOrigin-RevId: 5118ca2299753a0c8742662e5493bb97baf16d9c
2022-10-19 03:46:22 +00:00
Auke Booij
58e5bba4f8 Improve the tone of the OSS issue templates by removing questions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6246
GitOrigin-RevId: 8e62587cbe36fa40124d22770c76322b5e716fde
2022-10-19 02:21:46 +00:00
Daniele Cammareri
e13ff5babe fix remote schema permissions with interfaces
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6417
GitOrigin-RevId: c3df729df040ea11ec61cf75536c8dec6b7cdbed
2022-10-18 21:21:29 +00:00
Gil Mizrahi
666f34d564 Add cockroach to default and on_conflict tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6412
GitOrigin-RevId: 637abad70096a06c39a13b9c8683444e2bebdecf
2022-10-18 19:48:27 +00:00
Chris Martin
bf87246126 Chrism/docs/guide bestpractices metadata
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6027
GitOrigin-RevId: 6186ea1de1964a4b91b05a8417983ec312ca53f7
2022-10-18 18:59:34 +00:00
Philip Lykke Carlsen
d81571f928 Add support for explain in CockroachDB
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6415
GitOrigin-RevId: d60363d6f466a764b79c887631f9e3f094946440
2022-10-18 16:49:03 +00:00
Tom Harding
346640fdf1 Add tests for query variables
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6383
GitOrigin-RevId: 87345b60ca2206aac097740109fedfeff045598a
2022-10-18 15:55:22 +00:00
Rikin Kachhia
53af3157fc docs: point EE release notes to changelog site
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6421
GitOrigin-RevId: e29fb208cde605ea0adcd124264abe3ee3711208
2022-10-18 14:54:21 +00:00
Nicolas Beaussart
7a7688ca9d platform: fix graphql codegen in action and graphiql editor
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6404
GitOrigin-RevId: f20eaece35f2c0b7d7db8b65908b608a79afcdba
2022-10-18 14:24:14 +00:00