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

Follow @defoverridable protocol in Ecto repo #959

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Conversation

unflxw
Copy link
Contributor

@unflxw unflxw commented Aug 16, 2024

I thought this could be the cause of the issue fixed in #958, but I don't think it is anymore. Still, better to fix this corner case before it pokes someone.

Our Appsignal.Ecto.Repo, which is meant to be a swap-in replacement for Ecto.Repo, should both call super on the original Ecto.Repo implementation of default_options that it overrides, and allow super to be called on it by modules that override default_options.

Our `Appsignal.Ecto.Repo`, which is meant to be a swap-in
replacement for `Ecto.Repo`, should both call `super` on the
original `Ecto.Repo` implementation of `default_options` that it
overrides, and allow `super` to be called on it by modules that
override `default_options`.
@backlog-helper

This comment has been minimized.

@backlog-helper

This comment has been minimized.

1 similar comment
@backlog-helper

This comment has been minimized.

@backlog-helper
Copy link


This is a message from the daily scheduled checks.

New issue guide | Backlog management | Rules | Feedback

@unflxw unflxw merged commit f54ded3 into main Aug 26, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants