mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-11-10 10:29:12 +03:00
server: export metadata V2 should not export cron triggers with included_in_metadata: false
https://github.com/hasura/graphql-engine-mono/pull/2366 GitOrigin-RevId: 88c3a5a1f10ea1cf0e2192c69da5cc4147f70ae3
This commit is contained in:
parent
07fd7324c3
commit
169a49f2bb
@ -16,6 +16,7 @@
|
||||
|
||||
## v2.0.9
|
||||
|
||||
- server: fix export_metadata V2 bug which included cron triggers with `include_in_metadata: false`
|
||||
- server: disable mutation for materialised views (#6688)
|
||||
- server: set `tracecontext` and `userInfo` for DML actions on Postgres sources
|
||||
- server: add support for `connection_parameters` on `pg_add_source` API
|
||||
|
@ -329,7 +329,7 @@ runExportMetadataV2
|
||||
:: forall m . ( QErrM m, MetadataM m, HasServerConfigCtx m)
|
||||
=> MetadataResourceVersion -> ExportMetadata -> m EncJSON
|
||||
runExportMetadataV2 currentResourceVersion ExportMetadata{} = do
|
||||
exportMetadata <- processExperimentalFeatures =<< getMetadata
|
||||
exportMetadata <- processMetadata =<< getMetadata
|
||||
pure $ encJFromOrderedValue $ AO.object
|
||||
[ ("resource_version", AO.toOrdered currentResourceVersion)
|
||||
, ("metadata", metadataToOrdJSON exportMetadata)
|
||||
|
Loading…
Reference in New Issue
Block a user