Rob Dominguez
b8f8fea568
docs: update operators
...
[DOCS-836]: https://hasurahq.atlassian.net/browse/DOCS-836?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9175
GitOrigin-RevId: 6f3804890d862c7efe522352ff29d5b047a2e704
2023-06-02 11:41:27 +00:00
Tom Harding
b124c943a9
chore(server): allow recursive native queries
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9373
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: b998da0e2725f687a00c2c6c993435e44df4f70f
2023-06-02 10:37:55 +00:00
Samir Talwar
dd46aa6715
server: Preserve ordering when possible, and sort when it's not.
...
When upgrading to GHC v9.4, we noticed a number of failures because the sort order of HashMaps has changed. With this changeset, I am endeavoring to mitigate this now and in the future.
This makes one of two changes in a few areas where we depend on the sort order of elements in a `HashMap`:
1. the ordering of the request is preserved with `InsOrdHashMap`, or
2. we sort the data after retrieving it.
Fortunately, we do not do this anywhere where we _must_ preserve order; it's "just" descriptions, error messages, and OpenAPI metadata. The main problem is that tests are likely to fail each time we upgrade GHC (or whatever is providing the hash seed).
[NDAT-705]: https://hasurahq.atlassian.net/browse/NDAT-705?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9390
GitOrigin-RevId: 84503e029b44094edbbc298651744bc2843c15f3
2023-06-02 09:31:26 +00:00
Luca Restagno
f6cb0d7310
Fix update_by_pk and delete_by_pk placeholders
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9375
GitOrigin-RevId: d73bc541f160e6f6f32dfa0f6b19cff730e73099
2023-06-02 09:00:01 +00:00
Luca Restagno
936134d157
Add tests interaction unit for the new relationship UI
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9354
GitOrigin-RevId: 0748d9db3695fe145b8a7813a7325fa98d1e71d5
2023-06-02 08:23:03 +00:00
Daniel Chambers
d421cdb726
Put the message property first when encoding error JSON
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9379
GitOrigin-RevId: 385035810190786f54a1db86e3a2e4a2c3bd5dee
2023-06-02 05:29:50 +00:00
Daniel Harvey
0034ae8892
chore(server): use new version of sandwich
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9386
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
GitOrigin-RevId: 008312c7550025cb44d515fa3d01796175b60e29
2023-06-02 02:00:41 +00:00
Julian
921b148dc8
Logical Model Permissions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9276
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: ee1dddf813fac3f3a29c5444644e589a8e67d3cb
2023-06-01 18:31:37 +00:00
Sean Park-Ross
6102270f11
Docs: Feature Support Matrix for Oracle
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9079
GitOrigin-RevId: 472d09d5e0ff2743f0d071fab1d30f6a4beb3198
2023-06-01 17:31:18 +00:00
Sean Park-Ross
6eeea80089
Docs: Feature Support Matrix Table for MySQL
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9078
GitOrigin-RevId: 0bc899c9450f835a5949d8ff79fe8cbd92ace4c4
2023-06-01 17:22:27 +00:00
Rakesh Emmadi
427ca18e85
server: collect remote schema and database introspections while building schema cache
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9297
GitOrigin-RevId: 143f50be2eba382d129669e26ef3a7eb24c921ca
2023-06-01 16:34:31 +00:00
Rishichandra Wawhal
800be3c915
schema-registry: fix lux endpoint and misc fixes
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9388
GitOrigin-RevId: 883d0a59e5202c688e210eb624fd279f24ff1cfd
2023-06-01 14:56:37 +00:00
Rishichandra Wawhal
44aa0f00e8
frontend: ui for schema registry v1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9189
Co-authored-by: nevermore <31686586+OjasWadhwani@users.noreply.github.com>
GitOrigin-RevId: 8a9091442967cb1603c04e5951e2dc2adf7d918b
2023-06-01 13:21:41 +00:00
kodiakhq[bot]
34e172d576
chore(tooling): import ci-info-hs
into monorepo
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9383
Co-authored-by: Shahidh K Muhammed <4124733+shahidhk@users.noreply.github.com>
Co-authored-by: Ajeet D'Souza <1777663+ajeetdsouza@users.noreply.github.com>
Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com>
Co-authored-by: Vamshi Surabhi <6562944+0x777@users.noreply.github.com>
Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com>
Co-authored-by: Matthew Pickering <1216657+mpickering@users.noreply.github.com>
Co-authored-by: Antoine Leblanc <1618949+nicuveo@users.noreply.github.com>
GitOrigin-RevId: a7a210e2237f5adc63302b18403616c7c0aa39ca
2023-06-01 12:51:39 +00:00
Vishnu Bharathi
af6795da93
ci: tag release v2.11.7
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9385
GitOrigin-RevId: 72df47dfb1a55677843d43a9db7d39036d31a829
2023-06-01 11:57:26 +00:00
Gil Mizrahi
b87506e87c
chore(tests): output hge stderr in api-tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9384
GitOrigin-RevId: 5d78b59e12bf870a3cba81829dcf4d3e0d2aebf9
2023-06-01 11:43:38 +00:00
Vijay Prasanna
0d347c1a32
console (fix): fix issue with permissions tab when metadata is in loading state
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9381
GitOrigin-RevId: 354d48fe69bfed42d4a4d4a8a1f8756c057cc8be
2023-06-01 09:52:52 +00:00
Gil Mizrahi
3ce1b414b4
NativeQueries: validate that there are no unused or undeclare arguments
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9357
GitOrigin-RevId: 9d0ac74c8a2780c6d1b3e7769c3d4775bacb2d8d
2023-06-01 09:15:48 +00:00
Rob Dominguez
81d74f095a
docs: change quotes on getting started backend guide
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9378
GitOrigin-RevId: c602758e97b855c759028d9945a9288ce2e42a85
2023-06-01 05:46:56 +00:00
Matthew Goodwin
608e1bf29e
console: Add edit/view for native queries
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9307
GitOrigin-RevId: dddc9c2701a2f7958c423a5ddda6eb35163f425d
2023-05-31 21:04:31 +00:00
Aaysha
682af1e2b9
Integrating launch darkly sdk to console
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9334
GitOrigin-RevId: 7a2168114e74ff09bb1abb170a2aa2e7f7e5effc
2023-05-31 20:30:11 +00:00
Philip Lykke Carlsen
df10ccf310
fix(pg): Support aliased fields for Native Query object relations
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9374
GitOrigin-RevId: 073e51480e2be97e32938fa61a3547374e04ead8
2023-05-31 15:42:50 +00:00
Philip Lykke Carlsen
363e158bc4
refactor: Rename 'Provenance(Unknown)' to 'Provenance(FreshVar)'
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9376
GitOrigin-RevId: 3ef6572208ebc7770549d2b1cee16eb5086b56cf
2023-05-31 13:45:48 +00:00
Daniele Cammareri
5d3b0e0778
feat: add soft validation and 3.1 support
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9247
GitOrigin-RevId: 93bd2ae6c21e4d2cbc5b06aef0d1879cc0b23e9c
2023-05-31 11:09:50 +00:00
Daniel Harvey
36c4deb963
tooling(server): new .envrc.local.example items
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9371
GitOrigin-RevId: fad89c7a58403b642fdf7f55d1e185772e8722af
2023-05-31 10:39:49 +00:00
Daniel Harvey
7d011644ac
chore(server): allow non-nullable NQ -> NQ object relationships
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9353
GitOrigin-RevId: 9da95675d224f3045509592c2515b7afa2500d00
2023-05-31 10:34:28 +00:00
Luca Restagno
b19eff22e9
Fix: user defined functions UX interactions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9359
GitOrigin-RevId: 92fc049a396e6bd11ed9003b6d784e80e2290618
2023-05-31 08:54:29 +00:00
Vishnu Bharathi
7ecf9dafeb
ci: tag release v2.27.0-beta.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9369
GitOrigin-RevId: 5dc966791905d9e6d0db6bccb79b424b58049ea8
2023-05-31 08:28:53 +00:00
Vijay Prasanna
03daf994b5
console: tree nav storybook component
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9225
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: b4772448e7ebceee49c0b49cd7fcf2091ddf88c9
2023-05-31 07:39:26 +00:00
Varun Choudhary
4c0a7cc46a
console: fix scheduled trigger e2e tests
...
This Pr fixes the failing e2e test for scheduled triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9366
GitOrigin-RevId: 600dad7a9b04e14027d9dd4f39c6e9ed81d14317
2023-05-31 07:04:56 +00:00
Daniel Chambers
bfd046b224
Add additional tracing spans to HGE GraphQL queries and the Super Connector
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9332
GitOrigin-RevId: ecde2383a42acf93fa8c6abb8bbd4c3b074b77fb
2023-05-31 05:49:12 +00:00
Daniel Harvey
9de3db4729
chore(server): respect logical model array nullability
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9303
GitOrigin-RevId: 4d38a125a6889e2b0be34905e21a78036a77881e
2023-05-31 00:15:47 +00:00
Daniele Cammareri
866ce9c3e7
fix: fix cron trigger invocation logs status
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9348
GitOrigin-RevId: 72ba393e7f945260397b337cec489224f86230fc
2023-05-30 14:52:10 +00:00
Rob Dominguez
b3393cc344
docs: add skip_onboarding query param
...
[DOCS-990]: https://hasurahq.atlassian.net/browse/DOCS-990?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9266
GitOrigin-RevId: 1dc772f6b4e1f6235b56f8a42e8b6a4120302334
2023-05-30 14:15:31 +00:00
David Overton
26dfa3e718
Replace TableObjectType, etc. with the corresponding Logical Model types
...
## Description
This is the first step in making use of Logical Models with document databases such as MongoDB. As part of schema introspection, a data connector agent can supply a set of custom types that can be used to describe the schema for columns within the tables of the database (or _fields_ within a _document collection_ in MongoDB terminology).
Previously, we were storing these custom types as `TableObjectType`s within the `TableCoreInfo` for each table.
In this PR we
- replace the `TableObjectTypes` with `LogicalModel` types
- store these directly within the `DBObjectsIntrospection` instead of within the `TableCoreInfo` for each table. (The custom types are shared at the source level so there was no reason to have a separate set of types for each table.)
- When building the `SourceInfo`, we combine the `LogicalModel`s from `DBObjectsIntrospection` with `LogicalModel`s from the user's metadata to create the set of `LogicalModels` in the `SourceInfo` within the `SchemaCache`. I.e. we combine the set of types obtained by database introspection with the set of types specified by the user in the metadata. If two types have the same name, we use the type defined in the metadata.
## Limitations and future work
- Provide a way for the user to associate a meta-data defined `LogicalModel` with a table instead of requiring one to be provided by DB introspection
- Provide a way for the user to edit the `LogicalModel` types provided by introspection and add them to the metadata.
- Allow a `LogicalModel` object type to describe and entire table rather than just individual columns.
- Better handling for "unknown" types, e.g. if the type of a collection (or part of a collection) is unknown we should treat it as a JSON scalar value. This may also involve adding an `_everything` field which returns the full document as a JSON scalar.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9345
GitOrigin-RevId: 5cec72fc1be1380d8600f7be547bbf71aad770bd
2023-05-30 14:05:46 +00:00
Gil Mizrahi
2c3663b706
Catch ErrorCall in runHandler and expose it as a message with status 200
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9340
GitOrigin-RevId: b18fe167c8d26027d70da239606bd66d61e9bb43
2023-05-30 12:32:45 +00:00
Rob Dominguez
3ac749fbfb
docs: improve pg views docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9325
GitOrigin-RevId: e2c668e6efd0a348fbc4bffbf63fb577f094e02d
2023-05-30 11:38:43 +00:00
Tom Harding
82d3cd477e
"Better" Python version checking in dev.sh
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9347
GitOrigin-RevId: 952253a3683e30f59181e9cba2e77941635e5922
2023-05-30 11:29:52 +00:00
Rob Dominguez
372b5b54c1
docs: add admin secret header
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9323
GitOrigin-RevId: c4b08adcd75d0cc67551615c9e71c1dd7ab2ee05
2023-05-30 11:03:53 +00:00
Rikin Kachhia
5b449909eb
ci: update latest stable release as v2.26.0
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9342
GitOrigin-RevId: d2463dad59a98e7236065d90efa0e8892bf012a3
2023-05-30 09:11:44 +00:00
Gil Mizrahi
7c1ab39637
bugfix: quote columns in postgres nq validation
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9337
GitOrigin-RevId: e8e4c23efe9e3a028596f485d8e6f966b0c1a30a
2023-05-29 12:40:40 +00:00
Vijay Prasanna
972c6ebb4d
console: remove outdated feature flags from the settings tab
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9190
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: 910fcc9ca4c5a6b18f07b47b60e0470b01db6bb7
2023-05-29 12:10:13 +00:00
ananya-2410
3303690fc4
ci: tag release v2.26.0
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9336
GitOrigin-RevId: bbbae990f9d39941a4fbc25d24227738522298c1
2023-05-29 11:26:37 +00:00
Karthikeyan Chinnakonda
318bffa28d
Fix performance regression introduced in #8922
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9310
Co-authored-by: Sameer Kolhar <6604943+kolharsam@users.noreply.github.com>
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
GitOrigin-RevId: 82697ea7d0f4a5cc39f05938f92a7ba49d9b6098
2023-05-29 07:06:18 +00:00
Rob Dominguez
b63046f4a8
docs: add dex info for google sso
...
[DOCS-946]: https://hasurahq.atlassian.net/browse/DOCS-946?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9154
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: b3f75e8dbb1c2f29ed68c45da9cb45f21b057ab1
2023-05-26 15:53:44 +00:00
Luca Restagno
4dec50ba5b
Relationship new UI, array relationships shown with the wrong details
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9315
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: cb61006a21ca0ef17033d68d2769a9d150ba409d
2023-05-26 15:50:52 +00:00
Rob Dominguez
cee83014e1
docs: backport hotfix for product badges on NQ and LM
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9319
GitOrigin-RevId: 4559d3df3e1f94831ff266d9863b31ae4973708b
2023-05-26 13:15:41 +00:00
Sooraj
e607e302d2
Docs:Remove EE trails banner from Import OAS docs page.
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9311
GitOrigin-RevId: 5ed474e8be33ebb592f15f8430b4d5c2eb300fb6
2023-05-26 11:43:18 +00:00
Lyndon Maydwell
f088eabdf3
Docs for Snowflake UDFs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9267
Co-authored-by: Brandon Martin <40686+codedmart@users.noreply.github.com>
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: de656b5cebc3894045b1dc6daf2d2d4ae0b036a0
2023-05-26 11:37:08 +00:00
Varun Dey
ea3c640943
frontend: default to use case onboarding on console
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9253
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: 08a7905acfc17d84ffcbb0f84867a5d44a999805
2023-05-26 10:59:29 +00:00