Do you consider supporting local imports? #2072
pwtail
started this conversation in
Ideas & suggestions
Replies: 2 comments 9 replies
-
Possibly! What is your use case? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think I have a very nice idea on how we can tame Ecto. I mean, writing an adapter for gleam. Consider the first example here, movies and characters https://hexdocs.pm/ecto/associations.html Every model (schema) can be associated with a very simple module (gleam or bare Erlang):
This can be auto-generated from the Ecto schema, or inverse, be the source for the generated Ecto schema. Now, how do we do queries:
What do you think? |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I mean, to be able import a name within a function only.
Beta Was this translation helpful? Give feedback.
All reactions