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

feat: allow empty migrations in providers #906

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

the-glu
Copy link

@the-glu the-glu commented Feb 5, 2025

Hello,

This PR allow the usage of a provider without any version.

When there are no versions, I'm not sure there are a reason to disable provider usage. I would like to be able to use my provider as usual, it's just it's going to tell me there are no migration to apply and no specifying handling of the "I got a provider / I didn't" is needed when using the library.

This mean there won't be an error if someone is initialize the provider without migrations witch may not be desirable. The new behavior may be implemented as an option, or the Provider returned with the error, leaving the choice to the programmer :)

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

Successfully merging this pull request may close these issues.

1 participant