Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

goose validate: no such command #807

Open
Arr-n-D opened this issue Aug 15, 2024 · 3 comments
Open

goose validate: no such command #807

Arr-n-D opened this issue Aug 15, 2024 · 3 comments

Comments

@Arr-n-D
Copy link

Arr-n-D commented Aug 15, 2024

I've built a custom goose binary for embedding Go migrations.

When running my binary and running the validate command, I get an error claiming that validate does not exist.

My code depends on v3@v3.21.1, and when looking at goose.go, the validate function indeed does not exist, as seen here
https://github.com/pressly/goose/blob/master/goose.go#L67

@mfridman
Copy link
Collaborator

Indeed, this was never exposed beyond the pre-built goose CLI.

@yoyrandao
Copy link

Indeed, this was never exposed beyond the pre-built goose CLI.

But why?) Why I can't use it from self-build binary?

@mfridman
Copy link
Collaborator

Not a good reason. It was an experimental command, but if there's enough demand, I'm happy to make it part of the stable API. Just need to fix a minor bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants