mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
https://github.com/hasura/graphql-engine/pull/6119
This commit is contained in:
parent
153054bed9
commit
01c4cd2ff3
@ -135,6 +135,7 @@ This release contains the [PDV refactor (#4111)](https://github.com/hasura/graph
|
||||
- console: down migrations improvements (close #3503, #4988) (#4790)
|
||||
- cli: add missing global flags for seed command (#5565)
|
||||
- cli: allow seeds as alias for seed command (#5693)
|
||||
- cli: fix bug in metadata apply which made the server aquire some redundant and unnecessary locks (close #6115)
|
||||
- docs: add docs page on networking with docker (close #4346) (#4811)
|
||||
- docs: add tabs for console / cli / api workflows (close #3593) (#4948)
|
||||
- docs: add postgres concepts page to docs (close #4440) (#4471)
|
||||
|
@ -180,18 +180,9 @@ func (h *HasuraDB) ApplyMetadata() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
query := HasuraInterfaceBulk{
|
||||
Type: "bulk",
|
||||
Args: []interface{}{
|
||||
HasuraInterfaceQuery{
|
||||
Type: "clear_metadata",
|
||||
Args: HasuraArgs{},
|
||||
},
|
||||
HasuraInterfaceQuery{
|
||||
Type: "replace_metadata",
|
||||
Args: obj,
|
||||
},
|
||||
},
|
||||
query := HasuraInterfaceQuery{
|
||||
Type: "replace_metadata",
|
||||
Args: obj,
|
||||
}
|
||||
resp, body, err := h.sendv1Query(query)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user