-
Notifications
You must be signed in to change notification settings - Fork 36
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
Introduction of the adapter pattern for flexible datasources #608
Conversation
# Conflicts: # lib/backpex/resource.ex
Ok, the reason is that we do not pass the |
Fixed. |
@@ -0,0 +1,114 @@ | |||
if Code.ensure_loaded?(Ash) do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a better way to do this?
This is a WIP draft of the introduction of
Backpex.Adapter
and aBackpex.Adapters.Ecto
. This will help us support other datasources (like Ash) in the future.This PR also introduces validation for given options to
Backpex.LiveResource
vianimble_options
.