You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is a key named metadata_dir in config.yaml, we should read all the files in that directory and merge them to construct the Hasura Metadata object to be sent in replace_metadata query to server.
This should be used in the metadata apply command.
The motivation is to let the user split the metadata files however they seem fit and the CLI will take care of merging them to a single object.
If there is a key named
metadata_dir
inconfig.yaml
, we should read all the files in that directory and merge them to construct the Hasura Metadata object to be sent inreplace_metadata
query to server.This should be used in the
metadata apply
command.The motivation is to let the user split the metadata files however they seem fit and the CLI will take care of merging them to a single object.
We can probably use https://github.com/imdario/mergo
The text was updated successfully, but these errors were encountered: