Rakesh Emmadi
f45130bc39
server/mssql: move mssql_run_sql test cases from v1/run_sql to v2/mssql/run_sql
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3370
GitOrigin-RevId: dfeb6e2dfda3fbe6ec2d318909dc793042b86d04
2022-01-18 02:21:04 +00:00
Solomon Bothwell
d88e2bbcce
server: add tests ensuring the correct functioning of all endpoints based on user roles
...
https://github.com/hasura/graphql-engine-mono/pull/1625
Co-authored-by: Sameer Kolhar <6604943+kolharsam@users.noreply.github.com>
GitOrigin-RevId: 6b56efc838d2ed1acc44b2847161fde22d6aee17
2021-07-16 16:09:25 +00:00
Rakesh Emmadi
e43d0273e0
server: mssql: apply schema changes by mssql_run_sql DDL on metadata ( fix #779 )
...
Co-authored-by: Antoine Leblanc <1618949+nicuveo@users.noreply.github.com>
GitOrigin-RevId: 6905d5914c8a698445c0ef03d6a8303747701e1c
2021-05-27 15:07:10 +00:00
Swann Moreau
5bc0355bdd
[server] coalesce multiple run_sql calls in tests ( #270 )
...
GitOrigin-RevId: abd7303aaf8e7a8739fd10574249aec450082ef8
2021-01-06 16:07:22 +00:00
Rakesh Emmadi
29f2ddc289
server: support separate metadata database and server code setup for multi sources ( #197 )
...
This is an incremental PR towards https://github.com/hasura/graphql-engine/pull/5797
Co-authored-by: Anon Ray <ecthiender@users.noreply.github.com>
GitOrigin-RevId: a6cb8c239b2ff840a0095e78845f682af0e588a9
2020-12-28 12:56:55 +00:00
Antoine Leblanc
5b74b2e2df
server: prevent metadata checks in read-only mode ( #4250 )
...
* do not perform the metadata check in read-only mode
* improve the isAltrDropReplace regex
* quote the regex at compile-time to handle syntax errors statically
Co-authored-by: Alexis King <lexi.lambda@gmail.com>
2020-04-01 18:22:55 -05:00
Alexis King
1387722970
Refactor schema cache construction to avoid imperative updates
...
wip: fix error codes in remote schema tests
2020-01-08 16:43:06 -06:00
Rakesh Emmadi
3527b085fd
allow altering type of a column whose permissions defined only with session variables ( close #2070 ) ( #2683 )
...
* allow altering type of a column iff session vars are defined in permissions
* use a sum type to define dependency reason
* set jwt expiry test's expiry time to 4 seconds
* derive Data instance for necessary types to simplify 'hasStaticExp'
2019-08-16 16:35:22 -05:00
Rakesh Emmadi
dc84bb4e77
fix renaming of columns used in insert permission ( fix #2398 ) ( #2414 )
2019-06-21 16:34:21 +05:30
Rakesh Emmadi
6c20ca8a55
allow renaming tables, columns and relationships ( close #79 ) ( #1542 )
2019-03-01 14:47:22 +05:30
nizar-m
596bccde49
add python based tests, remove haskell tests
...
this does not generate coverage report yet
2018-10-04 18:14:15 +05:30