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

allow repo to override tracked?/1 to avoid specifying all tracked schemas #114

Open
superchris opened this issue Dec 4, 2024 · 0 comments

Comments

@superchris
Copy link

superchris commented Dec 4, 2024

In the code, there is a function tracked? which should allow a given Repo to provide alternate behavior. However, the tracked_schemas config setting is referenced several other places, most importantly in ExAudit.Tracking.compare_versions/3 which results it in not being possible to customize the behavior to track all schemas by default. This function probably could just skip the check, as it appears that Repo will only attempt to track changes if tracked?/1 returns true. Could probably PR this if this approach makes sense

@superchris superchris changed the title allow repo to override tracked?/ to avoid specifying all tracked schemas allow repo to override tracked?/1 to avoid specifying all tracked schemas Dec 4, 2024
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

1 participant