Postgrex error when creating record with AshGeo type
I have a resource which contains an attribute defined as:
when I try and run a test which creates a record I get the following error:
I think this is to do with the
Postgrex.Types.define
added to the runtime.exs
not being used in test?8 Replies
@\ ឵឵឵ any pointers?
Not at my machine at the moment, but at worst you should be able to put the type defs you need in your case template or move them into a
def start_phase(:after_start, :normal, _opts)
in your application.nvm I figured it out. there's a big arse
if Mix.env() == :prod
at the top of runtime.exs :/Yeah tbh I was wondering 😄
thanks anyway my dude 🙂
Did you follow this step? https://hexdocs.pm/ash_geo/readme.html#config-runtime-exs
Nvm it was answered
I didnt see this
I can't seem to mark this as solved :/
should be able to right click and mark it solved
I just did it though