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
It would be nice if pgsync threw when .pgsync.yml was invalid. While QAing on temporary DBs, an LLM just hallucinated that tables was a config option (made feature request in #210 BTW).
pgsync happily ran despite an unrecognized config. Indeed you can add this to your config:
foo:
- bar
and it'll still run. I think it's more conventional and safer for tools not to run if there's hogwash in the config.
The text was updated successfully, but these errors were encountered:
It does seem though that, at least in theory, this package should be able to consume one of its config files and answer the question "is this a valid config file?" even while supporting YAML aliases. No idea how challenging that would be though.
It would be nice if
pgsync
threw when.pgsync.yml
was invalid. While QAing on temporary DBs, an LLM just hallucinated thattables
was a config option (made feature request in #210 BTW).pgsync
happily ran despite an unrecognized config. Indeed you can add this to your config:and it'll still run. I think it's more conventional and safer for tools not to run if there's hogwash in the config.
The text was updated successfully, but these errors were encountered: