Please forgive the noob question, but I’m following tutorials and finding I’m getting an error in my config/config.exs related to the serializer line - as an undefined function.
Can someone please take me through the steps you use?
And can you show me how you do it for dev and production envs, which I’m still learning.
Remember what I said about adding as much info as possible @RisingFromAshes
Which tutorials are you following? (Include links)
Paste the exact errors you are getting
Include as much info as possible for others to reproduce the problem
Also, when posting code use Markdown ticks to format it properly in your post (I’ve edited your post above - click the pencil icon to see the changes I made). As I mentioned in your other thread, you are more likely to get help if you take the time into writing out your post with thought (and consideration)
This should be correct. myapp is trying to access a variable/binding named myapp, Where MyApp or Myapp (upper-case initial character) is an atom, I.E. a name in this context.
myapp is not a valid module name. A module name starts with an upper case letter as @dsissitka and @OvermindDL1 have already mentioned. Basically you are telling guardian what the name of the module is that will be used as a serialiser. You have provided an invalid module name.
If you did a mix new myapp then probably your application module is probably Myapp or maybe MyApp as @OvermindDL1 said.