Skip to content

Conversation

@shaunc311
Copy link
Collaborator

This is the same as #3 but with the no-type tests fixed

if Application.get_env(:ja_resource, :repo) do
def repo, do: Application.get_env(:ja_resource, :repo)
defoverridable [repo: 0]
@ja_resource_repo Application.compile_env(:ja_resource, :repo)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If i think harder I could figure it out but easier to ask: why compile vs get?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense LG

@shaunc311 shaunc311 merged commit 489d04a into bf/no-type Dec 20, 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

Successfully merging this pull request may close these issues.

3 participants